SetActorsAI

From the CreationKit Wiki
Jump to navigation Jump to search

SetActorsAI toggles the AI processing for an Actor. If passed a 0, it turns off the processing; any other integer will turn it on. The Actor's scripts will continue to run while their AI is disabled, but they will not process packages, detection, havok, or animation.

Syntax

SetActorsAI intvalue 

Examples

BuddyRef.SetActorsAI 0 ;Buddy will no longer process schedules, detection, havok, or animation.

Papyrus Version[edit | edit source]

EnableAI - Actor