IsAIEnabled - Actor

SKSE Member of: Actor Script

Checks whether the actors AI is enabled.

SyntaxEdit

bool Function IsAIEnabled() native

ParametersEdit

None.

Return ValueEdit

Whether the actors AI is enabled.

ExamplesEdit

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

See AlsoEdit