Thread Tools Display Modes
12-04-08, 02:04 PM   #1
Tahmahal
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 10
Time event ?

Hello,
First of all I'm french : sorry if my English is not good as it could be

I'm creating an AddOn which can save and displays messages like the WoW alarm system, improved. I thought I could find an event like "TIME_CHANGED" or something like that, and simply call an "OnEvent" function. But I don't find that event on WoWWiki, I looked into the Blizzard_TimeManager.lua file but I can't find what I'm looking for.

Does anybody know how I can do ?
Thank you

Tahmahal - /kiss from France
  Reply With Quote
12-04-08, 03:19 PM   #2
slizen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 15
You need to use an OnUpdate handler http://www.wowwiki.com/UIHANDLER_OnUpdate
Basically, it's a function that's called every time a frame is painted, which means if you have 60 fps, OnUpdate is called 60 times per second.
  Reply With Quote
12-04-08, 04:41 PM   #3
Tahmahal
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 10
Originally Posted by slizen View Post
You need to use an OnUpdate handler http://www.wowwiki.com/UIHANDLER_OnUpdate
Basically, it's a function that's called every time a frame is painted, which means if you have 60 fps, OnUpdate is called 60 times per second.
Oh, thanks. I had never used OnUpdate :> Thank you
Tahmahal
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Time event ?


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