EnableAI - Actor
Revision as of 18:51, 4 March 2010 by imported>Jlundin (New page: Category:Scripting Category:Papyrus '''Member of:''' Actor Script Enables or disables this actor's AI. == Syntax == <source lang="papyrus"> Function EnableAI(bool abEnable = ...)
Member of: Actor Script
Enables or disables this actor's AI.
Syntax
Function EnableAI(bool abEnable = true) native
Parameters
- abEnable: Whether to enable or disable the AI.
- Default: True
Return Value
None.
Examples
; Turn off evil AI
EvilActor.EnableAI(false)
; Turn on good guy's AI
GoodActor.EnableAI()