Thread Tools Display Modes
04-06-09, 11:56 AM   #1
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
Sound file question

Out of curiosity, is there any way to link a sound file to play when nUI sends a message to the chat box indicating that it's time to feed my pet? If it's simple enough, I'd like to be able to play a sound clip from Little Shop of Horrors of the plant saying "Feed Me" Twisted I know, lol.
 
04-06-09, 12:28 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
At present, no... but this would be a nice feature to add to the pet feeder. I'll add it to the to-do list
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-06-09, 04:07 PM   #3
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
I couldn't resist attempting it, lol. I just spent the last hour or two digging through code to try and figure it out and managed to get it to work . It's my first time playing with any code, and had a great time learning a tiny bit of lua in the process. I've got mine setup so it will play one oftwo different mp3 files depending on whether my pet is unhappy or angry.

Thank you for putting all the comments in your code. That alone went a very long way to helping me get an idea about what I was looking at and Google filled in the blanks
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Suggestion Box » Sound file question


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