Faction from GetPlayerInfoByGUID()
View Single Post
12-04-12, 02:55 PM
A Rage Talon Dragon Guard
Join Date: Sep 2007
Okay, I didn't take into account that the faction might change, so you probably should avoid caching it if it's neutral. However, I warn you against skipping OnTooltipSetUnit, I've had issues before making the assumption that a tooltip's text is going to be available immediately after I set it.
Also, don't assume that it's neutral because it doesn't match the alliance or horde string because sometimes the faction isn't mentioned in the tooltip, which I believe always means it's not your faction, but could be either neutral or the opposing faction.
Last edited by semlar : 12-04-12 at
View Public Profile
Send a private message to semlar
Find More Posts by semlar