GetDoorDefaultOpen

From the Oblivion ConstructionSet Wiki
Revision as of 09:40, 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:

GetDoorDefaultOpen 

Returns 1 if the door will be open by default, 0 if it will be closed by default.

The default state is the state a door will revert to when its cell is unloaded and then the player reenters the cell, regardless of what state it was left in. The default open state can be set in the editor from the reference dialogue, or through the script command SetDoorDefaultOpen.