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

  1. class ACTION_KillInstigator extends ScriptedAction;
  2.  
  3. var() class<DamageType>         DamageType;
  4.  
  5. function bool InitActionFor(ScriptedController C)
  6. {
  7.     C.GetInstigator().Died( None, DamageType, C.Instigator.Location );
  8.     return false;    
  9. }
  10.  
  11. function string GetActionString()
  12. {
  13.     return ActionString@DamageType;
  14. }
  15.  
  16. defaultproperties
  17. {
  18.      DamageType=class'Engine.Crushed'
  19.      ActionString="Damage instigator"
  20. }