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 .
×
Advertisement Create a free account

[Script] SimpleRoofControl

1532988170

Edited 1536878588
Edit: I have updated the SimpleRoofControl script to provide a little customization. The Anchor token will now automatically get a GM-only aura, and the color of it as well as which aura is used can be customized. It will also make sure your roof is above any new tokens that were added when you put the roof back in place. Background: I wanted to be able to avoid Fog of War and Dynamic Lighting in outdoor areas because my players thought it was unsettling and distracting. I admit it is overkill most of the time. However, I wanted to be able to obscure the interiors of my buildings until I wanted them to enter. The other roof scripts were too much automation for my taste - I didn't want my players running off into the building until I was ready. I was already familiar with the SimpleDoorControls script and knew needed something equally as simple. The SimpleRoofControl script allows you to set a Roof and an Anchor for it. This Anchor is a token that acts as the "button" for the roof. (I use a transparent graphic but it could be a nearby prop token or anything else.) With the Anchor selected, you run the command to remove the roof (sending it to the Dynamic Lighting layer) to reveal your building interior, or to place it back over the building to "close" it to the players. I've also added control of the Advanced Fog of War and Dynamic Lighting for the page so you can enable those features as you lift the roof and let your players inside. This script works really well with the SimpleDoorControls script in controlling access to your buildings! I hope this comes in handy for someone else. Enjoy! <a href="https://github.com/blawson69/SimpleRoofControl" rel="nofollow">https://github.com/blawson69/SimpleRoofControl</a> 2.0
1532988506
The Aaron
Forum Champion
API Scripter
Neat! Try adding the graphics in their own post and use the picture button (second from right) with choose file . That works for me some of the time...
1532988663
It works! Here is my roof graphic (selected) and the token being used on the right (with the red aura): Here is the dialog using the macro provided in the script: And here is the result. Really, it's exactly what you would expect. ;)
1532988697
The Aaron said: Neat! Try adding the graphics in their own post and use the picture button (second from right) with choose file . That works for me some of the time... I just did!
1532988799
The Aaron
Forum Champion
API Scripter
Nice!&nbsp; Looks great!
1532991288
vÍnce
Pro
Sheet Author
I use the SimpleDoors script and it looks like I might have another script to install now.&nbsp; Thanks for this Ben.
1533001498
GiGs
Pro
Sheet Author
API Scripter
I like this concept a lot. Great work.
1533004114

Edited 1533004195
Figure I should provide a player's view of the effect. ;) Of course, results may vary. You may set your DL and FoW differently. This is with everything checked.
1533019145
Ravenknight
KS Backer
Great work!
1536878561
Just posted a new version of the script. Check it out here:&nbsp; <a href="https://github.com/blawson69/SimpleRoofControl" rel="nofollow">https://github.com/blawson69/SimpleRoofControl</a>
1537486142
Tome
Pro
Interesting. I've been trying to do this with a teleporter script and a set of macros for a bit now. I'm for sure going to try this out tonight and if it works out I'll have to give you a digital handshake!
1538154113
Ravenknight
KS Backer
Tried it out in a ruined city today. Great work Ben. My players says thanks. :D