EnableDetection - Debug

From the Fallout4 CreationKit Wiki
Revision as of 13:21, 23 January 2014 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Papyrus Debug Only Functions '''Member of:''' Debug Script Enables/disables AI detection in the game. == Syntax == ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]