SetActorsAI

From the CreationKit Wiki
Revision as of 13:31, 28 November 2011 by imported>Scornett
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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