Difference between revisions of "SetOpenState"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
m (Reverted edits by Bnesmith (Talk); changed back to last version by Fella)
imported>Kkuhlmann
Line 7: Line 7:
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.
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==
==See Also==
[[GetOpenState]]
[[GetOpenState]]

Revision as of 10:18, 8 April 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

GetOpenState