diff options
Diffstat (limited to 'tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel')
-rw-r--r-- | tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel b/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel new file mode 100644 index 0000000..2e800c8 --- /dev/null +++ b/tools/worldbuilder/code/AETemplates/AEScriptLocatorNodeTemplate.mel @@ -0,0 +1,28 @@ +global proc AEScriptLocatorNodeTemplate( string $nodeName ) +{ + + editorTemplate -beginScrollLayout; + + editorTemplate -beginLayout "Locator Attributes" -collapse 0; + AElocatorCommon $nodeName; + editorTemplate -endLayout; + + editorTemplate -beginLayout "Script Attributes" -collapse false; + editorTemplate -addControl "script"; + 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 |