IsAIEnabled - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Actor Script

Checks whether the actors AI is enabled.

Syntax[edit | edit source]

bool Function IsAIEnabled() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether the actors AI is enabled.

Examples[edit | edit source]

If Ralof.IsAIEnabled() ;Is Ralof's AI enabled?
    Ralof.EnableAI(False) ; If so Disable his AI.
EndIf

See Also[edit | edit source]