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