426 - Combat indicator
While I was redoing some code for TellMeWhen to make it more efficient, I was looking for an event to notify me when a unit entered/left combat. My first idea was to take a look at Shadowed UF, but I saw that you didn't know of any events for this either, so I opened up good ol' /etrace and discovered that UNIT_FLAGS seems to be 100% reliable to track combat state changes to units that aren't player.
Just thought I'd let you know so that you could test and implement this into Shadowed UF (if it does turn out to be 100% reliable).
| User | When | Change |
|---|---|---|
| Cybeloras | Jan 27, 2012 at 01:14 UTC | Create |