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

17 lines
349 B
Ucode

class NiceAvoidMarkerCarnage extends NiceAvoidMarker;
var float healthLevel;
function bool RelevantTo(Pawn P){
local NiceMonster niceZed;
niceZed = NiceMonster(P);
if (niceZed != none && niceZed.default.health <= healthLevel)
{
return true;
}
return false;
}
defaultproperties
{
lifespan = 2.5
}