GetDoors
Every door anyone touched.
A door nobody used is at the level’s default and not listed; the level lists have every door’s key.
Syntax
Section titled “Syntax”GetDoors()Returns
Section titled “Returns”table - a list of door keys
Example
Section titled “Example”for _, key in ipairs(GetDoors()) do local open, locked = GetDoorState(key) if open then SetDoorState(key, false, false) end -- curfew: every door shutendSee also
Section titled “See also”GetDoorState · SetDoorState · the Doors and containers group of the index
