EnableDetection - Debug

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Debug Script

Enables/disables AI detection in the game.

Syntax[edit | edit source]

Function EnableDetection(bool abEnable = true) native global debugOnly

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Enables AI detection
Debug.EnableDetection()


; Disables AI detection
Debug.EnableDetection(false)

See Also[edit | edit source]