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

[Script] DLTool turns on Daylight mode, but will not turn it off.

DLTool turns on the page Daylight mode, but it will not turn it off. I have to go to the settings of the page to turn off Daylight mode. I would assume that the Moonlight and Starlight buttons are suppose to reduce the light levels, but they don't seem to work either.
1733121639

Edited 1733121696
They recently reimplemented / changed the Dynamic Lighting Tool. So this may be why the Script does not work as expected anymore...
1733182245
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Terry! Hmm. I am testing and it seems to still be working on my end. I am testing on a Jumpgate game, if you can give more testing info, I will see what I can discover. FWIW, the recent changes made to DL have very little to do with the bits that DL Tool controls. There are a few things that the Roll20 Mod Script engine struggles to update; theses are typically marked with an asterisk and a tooltip explainer. For example vision and light arcs, and movement barriers sometimes require you to open and close the actual graphic interface in order to update. DL Tool forces a lighting update after most commands, but some are too stubborn. Because of the way that Control-L previewing works, you may need to re-issue the key command to see the update, as well.