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

Token mod for lighting with UDL

1619090267

Edited 1619090299
How would I code for blinded here?  And is it possible to leave any light sources they have or existing darkvision in place when they are blinded? Im using dnd beyond for pulling in character info so characters dont have character sheets filled in (if thats relevant!)  Torch and Candle both work beautifully Thanks all! !token-mod --set ?{Vision|Torch, has_bright_light_vision emits_bright_light emits_low_light --set bright_light_distance#20 low_light_distance#20|Candle, has_emits_low_light --set  low_light_distance#10|Blinded,--off has_bright_light_vision}
1619096569
The Aaron
Roll20 Production Team
API Scripter
If you set the limit_field_of_vision_total to 0, they should continue emitting light, but not be able to see anything except their token.
Thanks - whats the code for that? Had a play and not managed to make it work yet!
1619103204
The Aaron
Roll20 Production Team
API Scripter
Looks like you have to turn on has_limit_field_of_vision also: !token-mod --set has_limit_field_of_vision|on limit_field_of_vision_total|0