How do I make a World of Warcraft addon?

Adam picture Adam · Mar 20, 2011 · Viewed 7.9k times · Source

I want to create a simple addon that will play sound files when the player kills an enemy player (gets a killing blow). I've looked around on Google but haven't found much in terms of documentation or guides.

Can anyone point me to some up-to-date documentation or some places where I can just find better guides?

Answer

Claus Jørgensen picture Claus Jørgensen · Mar 20, 2011

Getting started: http://www.wowpedia.org/Getting_started_with_writing_addons

API: http://www.wowpedia.org/World_of_Warcraft_API

What you want to do is to add a trigger for the combat log event for a killing blow. Shouldn't be to hard. And then play a sound, using the API for that.