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