npc_detection_enable(name, enable) | ||
Parameters: | ||
name | (string) name of the NPC | |
enable | (boolean) set to true to enable detection events, or false to disable them | |
Returns: | ||
none | ||
Description: | ||
Enable/disable "on detection" events for an NPC. Note that calling the on_detection script action automatically enables "on detection" events for an NPC, even if they were previously disabled. | ||
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |