Hello,
i was wondering if there is a way to terminate the zo_callLater function, before it executes?
Here a minimalistic example of what i mean.
Lua Code:
function foo.EnterCombat()
zo_callLater(function() d("you take too long") end, 5000)
end
function foo.LeaveCombat()
-- terminate the zo_callLater
end
Besides the option to terminate the callLater i would also need a way to identify the specifiy callLater, maybe by some form of id or such.
Is it even possible to implement something like this with the currently availiable tools?
(I am aware that in certain situations a workaround can be achieved with "RegisterForUpdate" and "UnregisterForUpdate")
Thanks in advance