This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
performPeriodicCheck is passed the same name for every trigger. This means all triggers share the same elapsed time variable, thus the time elapsed is incremented once for every trigger for every periodic check, only one trigger can trigger per periodic check, and only the trigger(s) with the smallest time period will be triggered.
--- a/Code/Triggers.lua +++ b/Code/Triggers.lua @@ -1649,7 +1649,7 @@ function Parrot_Triggers:OnTriggerCondition(name, arg, uid, check) end end elseif name == "Check every XX seconds" then - good = performPeriodicCheck(name, param) + good = performPeriodicCheck(t.name, param) else good = checkPrimaryCondition(param, arg, check) end
To post a comment, please login or register a new account.