Thread Tools Display Modes
10-14-09, 11:10 PM   #1
melliott
A Kobold Labourer
Join Date: Oct 2009
Posts: 1
Lightbulb Looking for help with a script.

As I've already explored several addon options in this regard (some of which did not work at all; some did but had various other options I didn't want, etc.), I have taken it upon myself to look into creating my own script.

What I'm looking to do is as follows:
1. Summon my mount.
2. Mount finishes casting, buff appears in buff line, a specified sound is played.
3. I'm hoping to only achieve this with one particular mount in my roster.

The mount I'm hoping to exclusively single out, here, is the Red Drake (attained via the Wyrmrest Accord faction), and to play a particular sound file (which, currently, is an mp3, but I can always modify it it to other types) each time I summon it.

Could anyone point me in the right direction to accomplishing this?
  Reply With Quote
10-14-09, 11:11 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
http://wowprogramming.com/docs/events/UNIT_AURA
http://wowprogramming.com/docs/api/UnitBuff
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
10-15-09, 04:51 AM   #3
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
If I understand correctly, you just want to play a sound file when mounting your red drake?
  Reply With Quote
10-15-09, 08:29 AM   #4
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
Just as a side note... only you will hear the sound. It could be made that so anyone who has your script can hear the sound but other wise only you will hear it. Also are you looking to make a button that mounts the red drake as well?
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Looking for help with a script.

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