WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Cataclysm Beta (https://www.wowinterface.com/forums/forumdisplay.php?f=82)
-   -   CancelUnitBuff in Cata (https://www.wowinterface.com/forums/showthread.php?t=35366)

zork 10-27-10 03:17 PM

Thx p3lim.

v6o 10-27-10 06:56 PM

Quote:

Originally Posted by p3lim (Post 214675)
-snip-

Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?

sigg 10-28-10 12:53 AM

23.header:HookScript('OnEvent', OnEvent)

I understand, by default the header engine is already registered the aura, and got a OnEvent function script.

In the previous code you replace the function OnEvent of the secure aura header.

Ailae 10-28-10 07:16 AM

Here's my implementation if anyone's curious. I went with using the Animation-system for timers and fading, mostly just to try it. Once I realized you can only have one AnimationGroup per region it was easy. :P

http://pastebin.com/k7JvAdSg

p3lim 10-28-10 08:14 AM

Quote:

Originally Posted by v6o (Post 214739)
Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?

Yep, typo

Quote:

Originally Posted by sigg (Post 214768)
23.header:HookScript('OnEvent', OnEvent)

I understand, by default the header engine is already registered the aura, and got a OnEvent function script.

In the previous code you replace the function OnEvent of the secure aura header.

Yeah, I figured the header already register UNIT_AURA and had an OnEvent script, so I just removed my event registration and hooked the OnEvent script.


All times are GMT -6. The time now is 04:12 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI