1 // Property of Alientrap/AK
4 void() Nex_Action_TestOnChange =
6 Raise_DataEvent( self._target, ITEM_DATA_TEST_START );
9 void( bool pSelect, bool pUser ) Nex_Action_TestOnSelect =
11 if( !pSelect && pUser )
12 Raise_DataEvent( self._target, ITEM_DATA_TEST_START );
15 // play the sound specified in the target field
16 void() Nex_Action_PlaySound =
19 Sound_Play( self.target );
23 void() Nex_Action_PlaySoundOnce =
26 Sound_Play( self.target );
28 Menu_DeleteAfterToggle( self );
31 // execute a console cmd on action
32 void() Nex_Action_ConsoleCmd_Destroy =
34 String_EntityFree( self, syncCmd );
37 void() Nex_Action_ConsoleCmd_Action =
42 void() Nex_Action_ConsoleCmd =
44 String_EntityZone( self, syncCmd );
46 self.destroy = Nex_Action_ConsoleCmd_Destroy;
47 self.action = Nex_Action_ConsoleCmd_Action;