summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel
new file mode 100644
index 0000000..57e5e2a
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AESplineLocatorNodeTemplate.mel
@@ -0,0 +1,23 @@
+global proc AESplineLocatorNodeTemplate( string $nodeName )
+{
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Triggers" -collapse 0;
+
+ editorTemplate -callCustom "AEWBTriggerButtonNew"
+ "AEWBTriggerButtonReplace"
+ "message";
+
+ editorTemplate -endLayout;
+
+ editorTemplate -addExtraControls;
+
+ editorTemplate -endScrollLayout;
+
+ AEWBLocatorSuppress( $nodeName );
+}
+ \ No newline at end of file