Difference between revisions of "GetDoorDefaultOpen"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>Vswe
m (Added Search Terms)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:


[[Category: Functions]]
[[Category: Functions]]
[[Category:Functions (CS)]]
[[Category: Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Condition Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]
 
<!-- Begin Search Terms
Get
Door
Default
open
End Search Terms -->

Latest revision as of 08:40, 20 June 2008

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.