SetActorsAI

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

SetActorsAI turns on and off the processing of an actor in the world. It is called on a reference and takes one parameter an integer. If the integer is 0, it turns off the processing and any other integer will turn it on. Scripts will still run on them but they will not process packages, detection, Havok or animation.

Syntax

[help]
[actor:ref].SetActorsAI processAI:bool

Example

BuddyRef.SetActorsAI 0

Buddy will no longer process schedules, detection, Havok or animation.

See Also