Quantcast WoWInterface - View Single Post - Faction from GetPlayerInfoByGUID()
View Single Post
12-04-12, 05:13 PM   #31
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 94
That is why I used IsPlayerNeutral() in my function first as if you are neutral, so every other char near you will be too. Also if it doesn't come back with a faction for a player then it is safe to assume that the player is of the opposing faction (as I did). I suppose that since a clear is issued before the set you could test to make sure that numlines is greater than 0 to make sure that the tooltip has been set... and possibly loop until it is but who knows how long that could hang you up for...
  Reply With Quote