Thread Tools Display Modes
10-27-10, 03:17 PM   #21
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thx p3lim.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
10-27-10, 06:56 PM   #22
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
Originally Posted by p3lim View Post
-snip-
Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?
__________________
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-27-10 at 06:58 PM.
 
10-28-10, 12:53 AM   #23
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
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.
 
10-28-10, 07:16 AM   #24
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
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
__________________
Oh, the simulated horror!

Last edited by Ailae : 10-28-10 at 07:20 AM. Reason: typos..
 
10-28-10, 08:14 AM   #25
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by v6o View Post
Is SecureAura_GetUnit a Cata only function or did you mean SecureButton_GetUnit?
Yep, typo

Originally Posted by sigg View Post
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.
 
 

WoWInterface » AddOns, Compilations, Macros » Cataclysm Beta » CancelUnitBuff in Cata

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