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

27 lines
494 B
Ucode

// can be used only on KF_StoryNPC_Spawnable_SE
class ACTION_NPC_Bleed extends ScriptedAction;
var(Action) bool bBleed;
var(Action) name NPC_Tag;
function bool InitActionFor(ScriptedController C)
{
local KF_StoryNPC_Spawnable_SE P;
foreach C.DynamicActors(Class'KF_StoryNPC_Spawnable_SE',P, NPC_Tag)
P.bBleed = bBleed;
return false;
}
function string GetActionString()
{
return ActionString@bBleed;
}
defaultproperties
{
ActionString="NPC bleed"
}