Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/29/15, 05:20 PM   #1
Olivierko
AddOn Author - Click to view addons
Join Date: Dec 2014
Posts: 8
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.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » EVENT_COMBAT_EVENT -> unitId


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off