SetOpenState

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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]

GetOpenState