This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

GetDetected

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Syntax:

 [ActorID.]GetDetected TargetID

Example:

 GetDetected player 


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

Notes[edit | edit source]

  • 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 Also[edit | edit source]

IsActorDetected

GetDetectionLevel

Category:Detection