IsActorInvulnerable
Whether an actor takes no hits.
Syntax
Section titled “Syntax”IsActorInvulnerable(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsActorInvulnerable(id) then return endSee also
Section titled “See also”SetActorInvulnerable · the NPC actors group of the index
