Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-28-10, 07:13 AM   #21
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Would hooking the header's OnEvent ensure that it's run after the default update so the vehicle updates do not happen to "early" ?

Edit: Should just had realized the problem lies in that the unit attribute is still player even when entering a vehicle and that's why it's not updating correctly. Just made it change unit on attribute whenever you enter or exit an vehicle.

When you change any attribute the header updates so there's not much else to do to it it seems
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.

Last edited by v6o : 10-28-10 at 02:45 PM. Reason: whoa.. that's not english
  Reply With Quote
 

WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » How To : Right click removing buff

Thread Tools
Display Modes

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