SetRestrained
From GECK
A function included in the GECK for Fallout 3.
Contents
Description
Set the actor to a restrained state (or clear the state). Restrained actors will not move from their current position, or enter combat, but will continue to "think" (pick packages, run detection so they could yell alarms) and go into dialogue.
Syntax
[actor:ref].SetRestrained restrainedFlag:int{0/1}
Notes
- Also prevents the usage of weapons from Use Weapon Package and UseWeapon (Function). The actor will still attempt to run the package and perform various animations but will never attack.