IsActorDetected

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

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