Description
Wiki Description
Enables or disables this actor's AI.
Documentation Comment
Enables or disable's this actor's AI, pausing their voice mid-line if desired.
Caveats
Parameters
boolabEnable=true
CK Wiki Description
Whether to enable or disable the AI.
- Default:True
boolabPauseVoice=false
CK Wiki Description
Ignored if abEnable is True. If abEnable is False, setting this to True will pause the Actor's current voice audio, so it can be resumed upon re-enable. If left False, existing voice audio will play to completion.
- Default:False
Examples
; Turn off evil AI
EvilActor.EnableAI(false); Turn on good guy's AI
GoodActor.EnableAI(); Freeze frame!
JGeils.EnableAI(false, true)
Utility.Wait(5)
; Now go!
JGeils.EnableAI()Auto-Generated Example
bool myBool__abEnable
bool myBool__abPauseVoice
myActor__toCallFunctionOn.EnableAI(myBool__abEnable, myBool__abPauseVoice)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
