View Single Post
09-19-14, 03:56 PM   #20
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Lombra View Post
The original SetTexture will be called before the OnEvent hook, yes, but it's still not really any different. SetTexture is done as part of the original event handler, which gets called before the hook. They both wait for the server to send the event.

There will never be any visible flicker as a result of these kind of things, because the UI isn't drawn until all code has finished executing.
Not sure, the first method i tried was based on this event, and i had some issues so mainly thats why i went with the settexture hook.
  Reply With Quote