summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel')
-rw-r--r--tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
new file mode 100644
index 0000000..4c1a413
--- /dev/null
+++ b/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
@@ -0,0 +1,34 @@
+global proc AEActionEventLocatorNodeTemplate( string $nodeName )
+{
+
+ editorTemplate -beginScrollLayout;
+
+ editorTemplate -beginLayout "Locator Attributes" -collapse 0;
+ AElocatorCommon $nodeName;
+
+ editorTemplate -addControl "exportTransform";
+ editorTemplate -endLayout;
+
+ editorTemplate -beginLayout "Action Attribute" -collapse false;
+ editorTemplate -addControl "actionObject";
+ editorTemplate -addControl "joint";
+ editorTemplate -addControl "action";
+ editorTemplate -addControl "buttonInput";
+ editorTemplate -addControl "shouldTransform";
+ 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