Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/RoomDescriptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ ___
Indicates what is visible on the minimap.
**Display Flags (bitwise):**
```lua
1 << -1 -- Invisible
1 << -1 -- No change (room is not "forced" to display)
1 << 0 -- Visible
1 << 1 -- Room Shadow
1 << 2 -- Show Icon
```

Note that to lock these changes into effect you must use `Game():GetLevel():UpdateVisibility()`.

???- example "Examples"
The flags are hard to interpret, but here are some examples:

Expand All @@ -94,6 +96,7 @@ Indicates what is visible on the minimap.

As far as I've seen, 001 is completely unused.
010, 100, and 110 may be used for compass or blue map, I don't remember. I think they use 100.

___
### Flags {: aria-label='Variables' }
[ ](#){: .alldlc .tooltip .badge }
Expand Down
Loading