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

Reduced visibility - help with macro to adjust vision for all player tokens?

There's a blizzard, and everything outside 30 ft is heavily obscured. I am thinking using TokenMod to set everyone's darkvision to 30 with dimming from 5 feet. In short, why does this macro not work? !token-mod - -set has_night_vision|30 night_vision_effect|dimming|5ft
1796223147

Edited 1796223427
"has_night_vision" is an on/off setting, not a distance setting. I've got a similar situation, and this macro does work. Mine is for a misty environment that restricts vision to 120 feet: !token-mod {{ --set bright_vision|on night_vision|on night_vision_distance|120 night_vision_effect|dimming|5ft night_vision_tint|transparent }}
Thanks, works nicely as soon as I checked for and added TokenMod to the room!
1796289884
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I used this effect for a storm of the century in my campaign city. They were chasing a gargantuan mutated crocodile. They had a visibility of 10 feet, and darkvision characters, 20 feet. Occasionally, I would toggle on daylight mode for a split second for flashes of lightning, to reveal the position and scale of the monster. Very effective, especially when they realized with a shock, they were right next to it.