Difference between revisions of "GetDoorDefaultOpen"
Jump to navigation
Jump to search
imported>Haama (Category links) |
imported>Fella |
||
Line 7: | Line 7: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Condition Functions]] | [[Category: Condition Functions]] |
Revision as of 11:26, 23 January 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.