Tip - Found an asychronous timer function.
zo_callLater takes two arguments, in order: function, and delay in milliseconds. (LIke setTimeout in JavaScript)
Example: Code:
/script zo_callLater(function() d("5 seconds have past!") end, 5000) |
Is there a list of such functions on the wiki somewhere?
|
Great find :)
|
Cheers Dude thats handy! :)
|
Quote:
|
If you're an addon developer, get zgoo. It's essential. Helper functions are under "zo_Helper" when you run /zgoo
Additionally, that globals wiki page is good. I cross-reference between the two constantly when developing. Edit - while on the topic, what would be really useful is a wiki page of a globals dump that goes down 2 or 3 levels. e.g. If there is a table, expand the table down 2 or 3 levels. I've tried to obtain this information recursively using "for x, y in pairs(_G)" but the "private function" errors are blocking. |
Quote:
|
Quote:
|
** Ignore me **
|
** ok, ignoring ;) **
|
All times are GMT -6. The time now is 07:41 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI