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

An API Script to open/close doors to work with dynamic lighting?

May 21 (11 years ago)
Okay... I'm going to be honest... I don't code. Not this kind of code anyway...

I could use some help with an API script to somehow tie to lines (which I use as doors) on the dynamic lighting pane, then somehow send them from that to the GM pane, so that I can simulate the LOS/Lighting from opening and closing doors.

Right now I have to delete the line off of the dynamic lighting pane, then re-draw it when I want to close the door again, and while that works, an easier way would be swell.
May 21 (11 years ago)
Alex L.
Pro
Sheet Author
https://app.roll20.net/forum/post/636123/script-door-control-for-players-includes-locks-and-traps#post-676231
May 21 (11 years ago)
Michael B.
KS Backer
I reviewed that thread, but is there a more concise write up on how to set up and use it?
May 22 (11 years ago)
Alex L.
Pro
Sheet Author

Michael B. said:

I reviewed that thread, but is there a more concise write up on how to set up and use it?


His final post seems quite concise to me, but if you need more help i would sugest asking Matt directly.