GetDoorDefaultOpen

From the Oblivion ConstructionSet Wiki
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.