Originally Posted by Seerah
|
UNIT_TARGET definitely fires for friendly grouped units (including pets). dunno if it fires for "arena1" through "arena5", though i would not be surprised either way (after all, Blizzard went to the trouble of putting those unitids into the API/etc). it definitely does not fire for "targets" (i.e. targets of the base unitids), though that won't be relevant to your application (you want UNIT_TARGET events for "arena1" through "arena5").
event-driven would be nice, but if it turns out not to be possible, as Dridzt says, you are stuck with "polling" (waking up 3 times a second, or whatever, and checking to see if "arena1target" through "arena5target" have changed). for 5 unitids, this should not be too onerous.