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 .
×

Tokenmod directional lighting API not updating correctly

Hi all, I've set up a few macros using TokenMod for the UDL so that tokens can turn their lights on/off, but I ran into a problem trying to incorporate directional lighting into the mix. The macro in question is: !?{Light/Vision options: |Extinguish, !token-mod --on has_bright_light_vision emits_bright_light emits_low_light --set bright_light_distance#0 low_light_distance#0 /me extinguishes their storm lantern.  |Light, !token-mod --set bright_light_distance#10 low_light_distance#10 directional_bright_light_total#360 /me lights their storm lantern.  |Light (targeted), !token-mod --set bright_light_distance#15 low_light_distance#15 directional_bright_light_total#90 /me focuses their storm lantern. } Weridly the macro applies all the correct settings, but the directional lighting won't update unless i manually go into the token's UDL settings and click "save changes". Is there something I'm missing? Thanks in advance for any help!
This is a known API bug that affects some commands/token settings from not saving correctly. 
Wizzle D. said: Hi all, I've set up a few macros using TokenMod for the UDL so that tokens can turn their lights on/off, but I ran into a problem trying to incorporate directional lighting into the mix. The macro in question is: !?{Light/Vision options: |Extinguish, !token-mod --on has_bright_light_vision emits_bright_light emits_low_light --set bright_light_distance#0 low_light_distance#0 /me extinguishes their storm lantern.  |Light, !token-mod --set bright_light_distance#10 low_light_distance#10 directional_bright_light_total#360 /me lights their storm lantern.  |Light (targeted), !token-mod --set bright_light_distance#15 low_light_distance#15 directional_bright_light_total#90 /me focuses their storm lantern. } Weridly the macro applies all the correct settings, but the directional lighting won't update unless i manually go into the token's UDL settings and click "save changes". Is there something I'm missing? Thanks in advance for any help! I'd point out that its been like this forever and a day and they still have not fixed it, I'd also point out that the feature is highly unreliable and not worth using for a live play session with players over the internet but then you will see 3-5 replies of people saying UDL is totally fine......Totally fine.