Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/01/14, 09:31 PM   #1
Dio
 
Dio's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 29
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)
Stumbled upon this using /zgoo in the zo_Helper area.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » Tip - Found an asychronous timer function.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off