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 >
Wrap
Text File
|
2003-12-11
|
413b
|
20 lines
class ACTION_KillInstigator extends ScriptedAction;
var() class<DamageType> DamageType;
function bool InitActionFor(ScriptedController C)
{
C.GetInstigator().Died( None, DamageType, C.Instigator.Location );
return false;
}
function string GetActionString()
{
return ActionString@DamageType;
}
defaultproperties
{
DamageType=class'Engine.Crushed'
ActionString="Damage instigator"
}