summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates/AEEventLocatorNodeTemplate.mel
blob: 9d6443b62ff3f3c1a72ea2b35a96469460da035e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 );
}