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

  1. class ACTION_GotoAction extends ScriptedAction;
  2.  
  3. var(Action) int ActionNumber;
  4.  
  5. function ProceedToNextAction(ScriptedController C)
  6. {
  7.     C.ActionNum = Max(0,ActionNumber);
  8. }
  9.  
  10. function string GetActionString()
  11. {
  12.     return ActionString@ActionNumber;
  13. }
  14.  
  15. defaultproperties
  16. {
  17.     ActionString="go to action"
  18. }