From The Elder Scrolls Construction Set Wiki
Syntax:
[ActorID.]GetDetected TargetID
Example:
GetDetected player
Returns 1 if the TargetID is currently detected by the calling actor.
[edit] See Also
IsActorDetected
GetDetectionLevel
Category:Detection