IsActorInvisibleToPlayer

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.80.

Description

Returns true (1) if the actor is considered invisible to the player in the compass, which happens if they have Invisibility or Chameleon Actor Values greater than 0 and the player does not have the Improved Detection Perk Entry Point effect to see through that. Returns false (0) otherwise.

This function can be used either in a script, or as a Condition.

Syntax

[help]
(isInvisible:1/0) actorRefr.IsActorInvisibleToPlayer