View Single Post
05-28-11, 01:43 AM   #10
Crepusculu
A Deviate Faerie Dragon
 
Crepusculu's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 16
You can actually read the "sourceFlags" parameter in the combatlog to determine if the unit is a player, rather than parsing the GUID

bit.band(sourceFlags, COMBATLOG_OBJECT_CONTROL_PLAYER) > 0



@hankthetank

You can get an accurate GUID assignment by monitoring the nameplate healthbar with the combatlog, which doesn't require targeting / mouseover
  Reply With Quote