SetRestrained
Jump to navigation
Jump to search
Syntax:
SetRestrained flag
Example:
SetRestrained 1
Set the actor to a restrained state (or clear the state). Restrained actors will not move from their current position, but will continue to "think" (pick packages, run detection so they could yell alarms) and go into dialogue.
Notes:
- Player can look up and down when SetRestrained is called on the Player, but not left or right.
- SetRestrained will resurrect a dead actor if used on one.
See Also[edit | edit source]