IsActorDetected

From the Fallout3 GECK Wiki
Revision as of 07:50, 11 January 2011 by imported>Ez0n3
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

[help]
(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.

See Also