GetDetected

Revision as of 12:25, 7 March 2013 by imported>Saebel (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax:

 [ActorID.]GetDetected TargetID

Example:

 GetDetected player 


Returns 1 if the TargetID is currently detected by the calling actor.

NotesEdit

  • Using GetDetected calls Oblivion's detection protocol. In a case where a mod specifically hooks and alters that detection protocol (such as SDR), then scripts created by that mod will get called as well. Using GetDetectionLevel does not appear to do that, and may be a more efficient alternative.

See AlsoEdit

IsActorDetected

GetDetectionLevel

Category:Detection