rott/kf_sources/GamePlay/Classes/Action_KILLINSTIGATOR.uc
2026-07-14 20:27:09 +07:00

20 lines
413 B
Ucode

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"
}