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

Issue with Torch

For some reason, I cannot get the torch API to work. I am pretty sure I have the syntax correct (I have been using !torch 40 0 yes @{target|token_id} as a test case) as im not getting any errors when I try to run it. But nothing happens when I run it. I'd love to know if others are having a similar issue or if this is something that can be easily fixed.
1681361186
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Amber! I don't think Torch works with the new Dynamic Lighting system.
TheAaron has said he has an updated version but it needs to be tested , but also previously said that there were issues with UDL implementation on the Roll20 side . 
1681399287
The Aaron
Roll20 Production Team
API Scripter
UDL is pretty solid at this point, I'll try and revisit Torch and see about an officially release for UDL support.  One major problem is the interface to Torch is not well suited to the variety of things you can do with UDL, so It might make more sense to sunset Torch as an LDL script, and make a new script with light and vision focused settings.
1681413531
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
According to the work I have done on DLTool, There are three common areas where setting DL properties with the Mod system needs help: Field of view, arc of light and movement blocked by walls. These seem to consistently need a trip to the appropriate settings window after setting. Just to open and close—no changes necessary—but the GUI needs to be triggered.