Difference between revisions of "SetOpenState"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Vswe m (Added Search Terms) |
||
Line 18: | Line 18: | ||
[[Category: Miscellaneous Functions]] | [[Category: Miscellaneous Functions]] | ||
[[Category: Miscellaneous Functions (CS 1.0)]] | [[Category: Miscellaneous Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
set | |||
open | |||
state | |||
End Search Terms --> |
Latest revision as of 14:57, 20 June 2008
Syntax:
SetOpenState flag
Example:
SetOpenState 1
Sets an animating door closed (0) or open(1). Does not affect the default open state. Will animate open/closed if the door is loaded. Calling this to open on certain doors, possibly ones without animations, causes the game to lock up.
Note that the value passed to SetOpenState does NOT correspond to the values returned by GetOpenState.
See Also[edit | edit source]