Difference between revisions of "SetRestrained"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>Arthmoor
(Adding note for SetRestrained resurrecting dead actors.)
 
(6 intermediate revisions by 5 users not shown)
Line 6: Line 6:
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.  
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==  
==See Also==  
[[SetUnconscious]]  
[[SetUnconscious]]  


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: AI Functions]]
[[Category: AI Functions]]
[[Category: AI Functions (CS 1.0)]]
[[Category:Actor Functions]]
[[Category:Actor Functions (CS 1.0)]]
<!-- Begin Search Terms
Set
Restrained
End Search Terms -->

Latest revision as of 18:21, 21 January 2015

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]

SetUnconscious