Mod:Creation Kit/EnableDetection - Debug

Member of: Mod:Creation Kit/Debug Script

Enables/disables AI detection in the game.

Syntax
Function EnableDetection(bool abEnable = true) native global debugOnly

Parameters

 * abEnable: If true, enables AI detection, if false, disables it.
 * Default: True

Return Value
None

Examples
Debug.EnableDetection Debug.EnableDetection(false)
 * Enables AI detection
 * Disables AI detection