Difference between revisions of "SetRestrained"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>ShadowDancer
m (formatting)
imported>Arthmoor
(Adding note for SetRestrained resurrecting dead actors.)
 
(3 intermediate revisions by 3 users not shown)
Line 8: Line 8:
'''Notes:'''
'''Notes:'''
*Player can look up and down when '''SetRestrained''' is called on the Player, but not left or right.
*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]]
[[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