#Readycheck weakaura issues [With function]
14 messages · Page 1 of 1 (latest)
Yeah that's a weird way to try and do it, having a separate trigger running on FINISHED
If you need to have it not only be timed then make a custom trigger basically
It has one, a function trigger, i asked for help here and this is what people adviced me to use 😛
t[1] and not [t2]
Perhaps you misunderstood.
You should use a single custom trigger that triggers on the start of the ready check and starts a 30 sec timer, but also catches the finish event and ends early
This would be a TSU trigger
is there any example/template of that D:?
oh i found your yt video with the TSU example, well.. my whole idea for the weakaura is to make it without any update/iterates or coding, only the built in functions, the approach on t[1] and not t[2] is the most advanced setting i have in the whole pack
well, it kinda works, i mean.. it does, it hides on readycheck finished event and everything works properly, but no idea why it wont work again after that
@hollow compass i actually found something on wago.io, someone who made it really similiar way to me, he also added untrigger, could this possibly fix my issue ?
ok the untrigger did the trick 🙂
if you never untrigger a custom event then it can't trigger again
function(s,e)
if e == "READY_CHECK" then
s[""] = {
show = true,
changed = true,
progressType = "timed",
duration = 30,
expirationTime = 30 + GetTime()
}
return true
elseif e == "READY_CHECK_FINISHED" and s[""] then
s[""].changed = true
s[""].show = false
return true
end
end