Originally Posted by semlar
Here'a a "quick" and dirty method for getting the faction from a unit's GUID using its tooltip:
|
Looks promising, though if you're going to make the ScanFaction function a global, I'd suggest giving a less generic name, like GetPlayerFactionFromGUID or something. Also not sure about speed of waiting for the server to send a tooltip vs. waiting for the server to tell you sending a message failed, but I guess it's faster than waiting on a timeout to assume a message succeeded.