Posted by bobwillneverdie on Mon, 28 Sep 2009 12:42:23
Hi, I'm new to LUA and AddOn creation, and I'm sure that there is a very simple way to do this, but I don't know it.
How would I make it so a sound would be played every time another party or raid member dies?
Thanks in advance.
Posted by jnwhiteh on Mon, 28 Sep 2009 18:05:02
You would need to create a frame, register for the event that signifies player or guild member dying, and then use the
PlaySoundFilefunction to play the sound you've included in your addon.