Is it possible to create a scheduled event in an addon? Just to be clear I mean a programmable event, a call to lua script at given time, not the event in the game calendar.
I've googled for a while and found out that ACE lib should be able to do this. I've looked into it and did not find it. What I need is to create a delay between two actions (like wait 5 sec...)
I am familiar with the onUpdate event, but I quite don't get how this works. I think it passes the number of actuall "onUpdates" of the frame whenever it is called. But I was unable to figure out how would I get the time from it yet. Maybe if I've accessed the system time/realm time? Is this possible in addon?
---------- Post added at 02:01 AM ---------- Previous post was at 01:10 AM ----------
As it usually happens, I found the answer shortly after I've asked. Looks like I got the onUpdate functionality correctly. For more information, you can check the following article on WoWWiki.