EnableAI - Debug

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Debug Script

Enables/disables AI processing in the game.

Syntax[edit | edit source]

Function EnableAI(bool abEnable = true) native global debugOnly

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Enables AI processing
Debug.EnableAI()


; Disables AI processing
Debug.EnableAI(false)

See Also[edit | edit source]