Difference between revisions of "SetRestrained"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>Fella
Line 15: Line 15:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Functions (CS 1.0)]]
[[Category: AI Functions]]
[[Category: AI Functions]]

Revision as of 12:00, 23 January 2008

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.


See Also

SetUnconscious