RandallDavis / roll20-roomScript

Script using Roll20's API to automatically manage rooms, walls, and interactive doors.
1 stars 2 forks source link

Global setting to default control of doors to none (GM only) or all players #11

Closed RandallDavis closed 9 years ago

RandallDavis commented 9 years ago

Ownership should default to the default setting, but overriding the default is per "side" of a room. So, if a side is owned by "GM" or "all players", any doors attached to that side have to inherit the same settings.

A door should be on the same layer as the room except for the following case: if the door is owned by all players, and the room is on the map layer, then the door should be on the token layer. This way, players can interact with the door, but if the room is on the GM layer, the door is hidden.