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

  1. class ACTION_WaitForTimer extends LatentScriptedAction;
  2.  
  3. var(Action) float PauseTime;
  4.  
  5. function bool InitActionFor(ScriptedController C)
  6. {
  7.     C.CurrentAction = self;
  8.     C.SetTimer(PauseTime, false);
  9.     return true;
  10. }
  11.  
  12. function bool CompleteWhenTriggered()
  13. {
  14.     return true;
  15. }
  16.  
  17. function bool CompleteWhenTimer()
  18. {
  19.     return true;
  20. }
  21.  
  22. function string GetActionString()
  23. {
  24.     return ActionString@PauseTime;
  25. }
  26.  
  27. defaultproperties
  28. {
  29.     ActionString="Wait for timer"
  30. }