Target Name help
Lets say I'm making an addon to alert my warrior when to OVERPOWER, triggered by the target dodging in the combat log.
when the dodge occurs, this is fired
DEFAULT_CHAT_FRAME:AddMessage("Target Dodged: OVERPOWER now!");
How do I turn the word "target" into the actual name of my target?
I want it to tell me...
"Arcatraz Sentinel Dodges: OVERPOWER Now!
I've tried some things but to no success...can someone lease help out here?
|