View Single Post
02/11/21, 05:31 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
During fight the unitId should be unique and you are able to react on events like event_combat_event etc. to check what these unitIds did, if they are alive etc.
via GetUnit*(unitTag) API functions from the API file that was linked above.
Or from the event parameters.

After the fight you cannot do this as the units get destroyed afaik, even if you just left combat without fighting (by running away).
Not each critter or boss or player got a unique Id you are able to reuse later on, sorry.

And some information about enemies (NPCs or players) cannot be obtained at all (also not during fights, like what skills they use etc.).

Last edited by Baertram : 02/11/21 at 05:42 AM.
  Reply With Quote