Difference between revisions of "SetRestrained"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(CS 1.0 stuff)
imported>Arthmoor
(Adding note for SetRestrained resurrecting dead actors.)
 
(2 intermediate revisions by 2 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==  
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]]
Line 20: Line 21:
[[Category:Actor Functions]]
[[Category:Actor Functions]]
[[Category:Actor Functions (CS 1.0)]]
[[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