EnableDetection - Debug

From Creation Kit
Jump to: navigation, search

Member of: 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

; Enables AI detection
Debug.EnableDetection()


; Disables AI detection
Debug.EnableDetection(false)

See Also