Thread Tools Display Modes
04/12/14, 06:38 PM   #1
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 58
Timer or event ... need help...

i tried acetimer port but i cant get it working right is thier another timer or an event that say fires every 5 secs or so ?
  Reply With Quote
04/12/14, 06:42 PM   #2
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
See WarLegendHUD for a proper implementation and port of AceTimer.

Otherwise you might want to use OnUpdate with Wy's Buffer
(which isn't a Timer by itself but pretty nice as well!):

http://wiki.esoui.com/Event_%26_Update_Buffering
  Reply With Quote
04/12/14, 07:12 PM   #3
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 58
Originally Posted by thelegendaryof View Post
See WarLegendHUD for a proper implementation and port of AceTimer.

Otherwise you might want to use OnUpdate with Wy's Buffer
(which isn't a Timer by itself but pretty nice as well!):

http://wiki.esoui.com/Event_%26_Update_Buffering
use acetimer from warlegendhud and looked to see how he got it working its going perfect now thank you
  Reply With Quote
04/13/14, 10:01 AM   #4
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Post

Originally Posted by SkOODaT View Post
i tried acetimer port but i cant get it working right is thier another timer or an event that say fires every 5 secs or so ?
You can use:
EVENT_MANAGER:RegisterForUpdate(name, time_in_ms, function)
  Reply With Quote
04/13/14, 09:46 PM   #5
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 58
Originally Posted by Garkin View Post
You can use:
EVENT_MANAGER:RegisterForUpdate(name, time_in_ms, function)
thank you so much for this info
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Timer or event ... need help...


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