Thread Tools Display Modes
Unread 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,351
Thx p3lim.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline  
Unread 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 have very little time to play WoW and even less time to code addons. As such I've dropped all development of all my addons. If you want to continue any addon or make a fork then feel free to do so. This is your permission slip.

Best regards, Valle.

Last edited by v6o : 10-27-10 at 06:58 PM.
v6o is offline  
Unread 10-28-10, 12:53 AM   #23
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,201
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.
sigg is offline  
Unread 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: 317
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..
Ailae is offline  
Unread 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,259
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.
p3lim is offline  
 

Go BackWoWInterface » 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