EnableAI - Debug

From Creation Kit
Jump to: navigation, search

Member of: Debug Script

Enables/disables AI processing in the game.

Syntax

Function EnableAI(bool abEnable = true) native global debugOnly

Parameters

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

Return Value

None

Examples

; Enables AI processing
Debug.EnableAI()


; Disables AI processing
Debug.EnableAI(false)

See Also