IsActorDetected

Revision as of 13:02, 12 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
< [[::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

Actor.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