View Single Post
04/21/14, 02:11 PM   #15
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
Lua Code:
  1. if sourceType == COMBAT_UNIT_TYPE_PLAYER and GetUnitName("player") == zo_strformat("<<1>>", sourceName) then
  2.     -- increase counter
  3.   else
  4.     -- Discard - not for us
  5.   end


GetDisplayName() returns the name of the account, not the name of the player.

Last edited by Iyanga : 04/21/14 at 02:17 PM.