GetDoorLockSides
Whether a door is locked from both sides (SetDoorLockSides).
Syntax
Section titled “Syntax”GetDoorLockSides(key)| Parameter | Type | |
|---|---|---|
key |
string | the door’s level name, or "*" |
Returns
Section titled “Returns”string - "both" or "game"
Example
Section titled “Example”if GetDoorLockSides(VAULT_DOOR) ~= "both" then SetDoorLockSides(VAULT_DOOR, "both") endSee also
Section titled “See also”SetDoorLockSides · the Doors and containers group of the index
