Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can a Window block light when closed?

(Pro account) I am trying to simulate the effect of a Window opening and closing. The current lighting level Window is close to what I need but it seems to be lacking. I would like to create a feature that has the following properties: 1 - Can be opened/closed by a player 2 - Allows light from a source placed on on side to pass through when opened, and blocks passing light when closed. 3 - Prevents player tokens from passing through its barrier. 4 - Does not allow player token vision to pass through. (That way when it is 'open' I do not have to worry about creating a map beyond the window) Short short version might be a directional conical light source that can be placed on a map and turned on/off by the players. Mimicking the effect of opening and closing a Window with outside light.
Now that I think about it would this effect be possible with a Door placed on top/slightly in front of a transparent one way wall? It would be open/close-able to players, they couldn't pass through it, and it would allow light to pass through it and not vision... But the click-able symbol would be a door instead of a Window.
Well....I seem to be working through this. Unless there is another way to do it I have placed Doors where the windows would be and used transparent one way walls to allow light to shine into the map and not let vision go out off the map. So going this route leaves me with one question:  Can you assign a Tool Tip to a Door?  So when the players mouse over the door icon it can tell them its a window.
1729018965
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I have used doors for windows upon occasion for reasons like this, and still use transparent barriers like you describe. Sometime you just have to get creative with solutions. As for the tooltip? no, not with doors or windows. You can do it with a light object, since it's really nothing but a preset token. But doors and windows are other types of objects entirely. It would really be nice if they could have some kind of data appended to them, and better support in the API (a trigger event when a player tries a locked door, for instance). You could really do some cool stuff with that.
Thank you Keith. Those additions would be great.... If only one day.
1729053044
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I had thought of making a script that could read the color of the door, and assign something like a lock picking DC to all doors of that color. But again, for it to mean anything would require a trigger action for trying the door.