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

Dynamic Lighting - "Total Light Output" uses Bright Light setting even if it's turned off

It took me forever to figure this out, but the Total Light Output on a token still adds the Bright Light output even if it is disabled, if a value is specified in the Bright Light field (for instance, as part of a token default). Steps to Reproduce 1. Create a token with dynamic lighting enabled. 2. Enable "Bright Light", then specify some value for "Bright Light" radius (10 ft, for example) 3. Disable "Bright Light", then enable "Low Light". 4. Enter a smaller value for "Low Light" (5 ft, for example), close the window and check the token. Expected Result Because Bright Light is disabled, the Token should give off 5 ft of low light. Actual Result The Total Light value seems to still check for the Bright Light value entered in the disabled field, and the token gives off more light than anticipated. This also seems to break the Low Light field itself, as whenever you try to enter a value lower than the Bright Light value and hit save, it will auto update every time you re-open it to increase the value to the minimum entered in the Bright Light field.
1698954288
Gauss
Forum Champion
Hi Marstead,  Since it seems you are trying to inform the Devs, I suggest filing a bug report via the Help Center as the Bug Report forum is primarily for users helping users.  With that said, as a workaround if you enable Bright Light, set it to 0, then disable it again it remedies the issue. 
1698954819

Edited 1698954871
Hi Marstead I'm not seeing this, I have a token that has 30' bright and 30' low, save settings, 60' overall shown.  Go back in to token, turn off bright light and overall light adjusts to 30', save settings. Click token in room with no light, measure light circle, 28' or so (dimming at periphery, nice).  I did get a momentary wobble with setting the low light to just 15' after turning off the bright, where it still showed as 45' overall, but I turned bright on and off again and the overall shifted to 15' as desired.  Clicking bright on and off then gives expected values.  Don't know what to suggest other than saving settings when making changes and maybe clicking on off?  Have you done the usual clear cache, check extensions/ add-ons are off (though mine is on), try a different browser or private window?
1698969216
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Marsteed! Are you setting manually, or using a script? The API might not trigger everything properly, the way the UI does. When I was writing Dynamic Lighting Tool, I tried to identify and mark as many of these cases as I could.
Hey all, this is all from setting it manually. Actually, after seeing folks post they couldn't repro the issue -- perhaps the issue only ever occurs if your DEFAULT token setting includes a value for Bright Light? I had a default of "10" for Bright Light, with the default being disabled, and it would always add 10 to the value I placed in Low Light, even if I kept Bright Light off. It's correct that the fix is to just manually set Bright Light to 0 on affected tokens.