-
Posted by red on Sun, 29 Mar 2009 00:57:11
Hi Folks,
Just starting out on the road to writing my first Addon. Thanks for the help in advance. I am trying to create a mod that will play a sound file when a shot becomes available. In this case, Kill Shot, (Hunter shot that only becomes active when target is less then 25% health). This doesnt count as a buff so the unit_aura isnt returning anything.
Any help would be appreciated.
Red -
Posted by red on Sun, 29 Mar 2009 00:57:12
Hi Folks,
Just starting out on the road to writing my first Addon. Thanks for the help in advance. I am trying to create a mod that will play a sound file when a shot becomes available. In this case, Kill Shot, (Hunter shot that only becomes active when target is less then 25% health). This doesnt count as a buff so the unit_aura isnt returning anything.
Any help would be appreciated.
Red -
Posted by jnwhiteh on Sun, 29 Mar 2009 05:55:39
Watch for the COMBAT_TEXT_UPDATE event and then look for the message type SPELL_ACTIVE. This is how the default FCT implementation shows these notifications.
-
Posted by red on Mon, 30 Mar 2009 12:10:11
Thanks,
That worked well.Red