IsActorKnockedOut
Whether the NPC actor is knocked out.
Syntax
Section titled “Syntax”IsActorKnockedOut(actorId)| Parameter | Type | |
|---|---|---|
actorId |
number | the NPC actor |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not IsActorKnockedOut(guard) then MoveActor(guard, x, y, z, 1.5) endSee also
Section titled “See also”SetActorKnockedOut · the Carrying group of the index
