SetOpenState

From the Oblivion ConstructionSet Wiki
Revision as of 14:57, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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