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

  1. class ACTION_ShootTarget extends ScriptedAction;
  2.  
  3. var(Action) int NumShots;
  4. var(Action) name FiringMode;
  5. var(Action) bool bSpray;
  6.  
  7. function bool InitActionFor(ScriptedController C)
  8. {
  9.     C.NumShots = NumShots;
  10.     C.FiringMode = FiringMode;
  11.     C.bShootTarget = true;
  12.     C.bShootSpray = bSpray;
  13.     return false;    
  14. }
  15.  
  16. defaultproperties
  17. {
  18.     ActionString="shoot target"
  19. }