summaryrefslogtreecommitdiffstats
path: root/tools/worldbuilder/code/AETemplates/AEActionEventLocatorNodeTemplate.mel
blob: 4c1a4137c49e59e81ed6198c6a70f06036ad586c (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
29
30
31
32
33
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 );
}