IsActorDetected
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: IsActorDetected.
A function included in the GECK version 1.1.0.36.
Description
Returns 1 if the calling actor is currently detected by any other actor, and returns 0 if the calling actor is not currently detected by any other actor.
Syntax
(0, 1:int) [ActorRefID].IsActorDetected
Example
BuddyRef.IsActorDetected
Returns 1 if BuddyRef is detected by any other actor, and returns 0 if BuddyRef is not detected by any other actor
Notes
- Will always return 0 when called on the player
- Because the game cannot read the user's mind, this function cannot be used to detect whether or not an actor is detected by the player. If you want to detect whether or not an actor has been detected by the player, use GetLOS instead.