SetDetectionState
From The Elder Scrolls Construction Set Wiki
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(void) reference.SetDetectionState actor:ref detectionState:short
Sets the detection state of the calling actor toward the specified actor reference. Note that Oblivion recalculates this value frequently for actors in high process; the function's main purpose is to reset the detection state of unconscious actors.
Detection State Codes
The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed :
0 Lost 1 Unseen 2 Noticed 3 Seen