IsActorInvisible
Whether an actor or an animal is invisible to players.
Syntax
Section titled “Syntax”IsActorInvisible(id)| Parameter | Type | |
|---|---|---|
id |
number | the actor or animal |
Returns
Section titled “Returns”boolean - true while SetActorInvisible hides it. One player’s own rule may differ: IsActorVisibleTo
Example
Section titled “Example”if IsActorInvisible(id) then SetActorInvisible(id, false) endSee also
Section titled “See also”SetActorInvisible · IsActorVisibleTo · the NPC actors group of the index
