Hi Alex/Kwik folks,I ran into a bug when using Sync Audio and Text replacement with triggered actions. Basically, the trigger timers weren't getting cancelled the way things normally do when added to Global timerStash. I found the problematic code at line 161 of syncSound library.Replacing line 161 with below code fixed the problem for me. I thought I'd share in case anyone else runs into this problem.
-- timerStash.a = timer.performWithDelay( line[i].start, text[i].trigger)-- replacing above line since sentence with multiple lines had timer references lost and weren't able to be canceled-- the timers were always added to timerStash.a instead of unique id-- this approach will enable cancelAllTimers to properly cancel the delayed triggers timerStash['syncSoundTrigger'..i] = timer.performWithDelay( line[i].start, text[i].trigger)
NOTE: this code works for me, it may need tweaking for you. But hopefully this will get you most of the way there.-jb
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience.