Difference between revisions of "GetDoorDefaultOpen"
Jump to navigation
Jump to search
imported>Fella |
imported>Vswe m (Added Search Terms) |
||
Line 13: | Line 13: | ||
[[Category: Miscellaneous Functions]] | [[Category: Miscellaneous Functions]] | ||
[[Category: Miscellaneous Functions (CS 1.0)]] | [[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.