home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Gameplay / Classes / ACTION_TriggerEvent.uc < prev    next >
Text File  |  2003-12-11  |  386b  |  21 lines

  1. class ACTION_TriggerEvent extends ScriptedAction;
  2.  
  3. var(Action) name Event;
  4.  
  5. function bool InitActionFor(ScriptedController C)
  6. {
  7.     // trigger event associated with action
  8.     C.TriggerEvent(Event,C.SequenceScript,C.GetInstigator());
  9.     return false;    
  10. }
  11.  
  12. function string GetActionString()
  13. {
  14.     return ActionString@Event;
  15. }
  16.  
  17. defaultproperties
  18. {
  19.     ActionString="trigger event"
  20. }
  21.