EVENT_COMBAT_EVENT -> unitId
Hello,
I'm trying to figure out whether or not the two following return values actually has any functional value or not:
- integer sourceUnitId
- integer targetUnitId
At the event of a killing blow for example both of these parameters are populated but I can't seem to understand where/how I could use them.
I was hoping I could resolve a UnitTag of some sort in order to use other functions which provide additonal character information such as alliance, class etc.
I've tried using these values in following functions without any success:
- GetUnitName
- GetUnitClass
- GetUnitAlliance
Apparently unitId and unitTag are two different things.
Any help would be much appriciated.
|