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

updating my Nightvision Macro

So I have a macro that is working fine, however my player wants to have nocturnal and red light for his night vision. I went to token mod wiki and couldn't find what the line code for the red light. Currently: !token-mod {{?{What Type of Vision - DIM/BRIGHT |None/Blind, --set has_bright_light_vision#no emits_bright_light#no bright_light_distance#0 has low_light_vision#no emits_low_light#no low_light_distance#0 aura1_radius# has_night_vision#no has night_vision_distance#0 night_vision_tint #transparent |Darkvision 60/60ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#60 night_vision_tint #transparent night_vision_effect#nocturnal aura1_radius# |Darkvision 30/30ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#30 night_vision_tint #transparent night_vision_effect#nocturnal aura1_radius# |Darkvision 15/15ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60 has low_light_vision#yes emits_low_light#no low_light_distance#60 has_night_vision#yes night_vision_distance#15 night_vision_tint #transparent night_vision_effect#nocturnal aura1_radius#|}}}
1744483189

Edited 1744490191
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hey Novercallis! I assume by "red light for his night vision", you mean red tint to the vision, not that he is emitting red light? if so, that value is coded by  night_vision_tint There's a typo in your macro that keeps the tint from setting, by the way. You have a space before the hashtag used to separate the attribute from its value. You will also need a second hashtag for the color code. This should work for red tinted night vision: !token-mod {{?{What Type of Vision - DIM/BRIGHT |None/Blind, --set has_bright_light_vision#no emits_bright_light#no bright_light_distance#0           has low_light_vision#no emits_low_light#no low_light_distance#0 aura1_radius#           has_night_vision#no has night_vision_distance#0 night_vision_tint #transparent |Darkvision 60/60ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60           has low_light_vision#yes emits_low_light#no low_light_distance#60           has_night_vision#yes night_vision_distance#60  night_vision_tint##ff0000           night_vision_effect#nocturnal aura1_radius# |Darkvision 30/30ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60           has low_light_vision#yes emits_low_light#no low_light_distance#60           has_night_vision#yes night_vision_distance#30  night_vision_tint##ff0000           night_vision_effect#nocturnal aura1_radius# |Darkvision 15/15ft, --set has_bright_light_vision#yes emits_bright_light#no bright_light_distance#60           has low_light_vision#yes emits_low_light#no low_light_distance#60           has_night_vision#yes night_vision_distance#15 night_vision_tint#ff0000           night_vision_effect#nocturnal aura1_radius#|}}}
ah, d'oh! ty Keith. idk why I thought night vision tint was something else and yeah, didn't realize the space at all. was still working as intended at the time lol.