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

[SCRIPT] Torch - by The Aaron

1534150579
Mike W.
Pro
Sheet Author
Is there an option to set the Degrees of Emit Light radius? Such as what is needed for a flashlight or hooded lamp? If not, could this be added with the default of 360?
1534153963
Ziechael
Forum Champion
Sheet Author
API Scripter
Can't speak for Torch but I know TokenMod can handle it: !token-mod --set light_losangle|90
1534155432

Edited 1534155482
Mike W.
Pro
Sheet Author
OK Should I be using TokenMod instead?
1534159478
Jakob
Sheet Author
API Scripter
Mike W. said: OK Should I be using TokenMod instead? Except for the flickering effect, TokenMod can do everything Torch can do. So probably yes.
1534161061
Ziechael
Forum Champion
Sheet Author
API Scripter
Mike W. said: OK Should I be using TokenMod instead? Or as well as... :)
1534175334
The Aaron
Pro
API Scripter
I agree with all of the above.  If you still want to do this with Torch, you can do it with --ANGLE like this: !torch 120 60 on --90 That gives a 60' bright and 60' dim in a 90º angle out the top of a token that everyone can see.  
1534183934
Mike W.
Pro
Sheet Author
Thank you everyone. There are so many options with TokenMod I think I will go that direction. Thanks again.
1534186085
The Aaron
Pro
API Scripter
It is a great toolbox of things.  Definitely reach out if you have any questions. It can be a bit daunting to dig through everything in the help...
1534198004
Mike W.
Pro
Sheet Author
The Aaron said: It is a great toolbox of things.  Definitely reach out if you have any questions. It can be a bit daunting to dig through everything in the help... Thank you so much!
1534235137

Edited 1534235811
Ravenknight
KS Backer
!token-mod --set ?{Vision|Torch, light_radius#40 light_dimradius#20 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Hooded Lantern, light_radius#60 light_dimradius#30 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Bullseye Lantern, light_radius#120 light_dimradius#60 light_angle#60 light_hassight#yes light_otherplayers#yes statusmarkers#half-haze|Lamp, light_radius#30 light_dimradius#15 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Candle, light_radius#5 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#yes|Darkvision, light_radius#60 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#no statusmarkers#-half-haze |No light source, light_radius#0 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#no statusmarkers#-half-haze |Blinded, light_hassight#no} Light macro for Tokenmod. (Edited since I'm stupid)
1534266852
Mike W.
Pro
Sheet Author
Ravenknight said: !token-mod --set ?{Vision|Torch, light_radius#40 light_dimradius#20 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Hooded Lantern, light_radius#60 light_dimradius#30 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Bullseye Lantern, light_radius#120 light_dimradius#60 light_angle#60 light_hassight#yes light_otherplayers#yes statusmarkers#half-haze|Lamp, light_radius#30 light_dimradius#15 light_hassight#yes light_angle#360 light_otherplayers#yes statusmarkers#half-haze|Candle, light_radius#5 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#yes|Darkvision, light_radius#60 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#no statusmarkers#-half-haze |No light source, light_radius#0 light_dimradius#=0 light_hassight#yes light_angle#360 light_otherplayers#no statusmarkers#-half-haze |Blinded, light_hassight#no} Light macro for Tokenmod. (Edited since I'm stupid) Well that just saved me some time, thanks.