Skip to content

IsActorInjured

Whether an actor has a wound - anywhere, or on one part.

IsActorInjured(id [, part])
Parameter Type
id number the actor
part number a body part 1 .. 6; without it, any part (optional)

boolean

if IsActorInjured(id, BODY_PART_ARM_RIGHT) then Log(GetEntityName(id), "swings weakly") end

GetActorInjuries · IsActorBleeding · the NPC actors group of the index