View Single Post
07-25-12, 04:19 AM   #156
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,308
Originally Posted by AcidWeb View Post
After preliminary check of "new" talent/specialization API I see there is still no way to get friendly player specialization without inspecting him.

Somebody can confirm that?
This seems to be true. Even though GetInspectSpecialization() accepts a UnitID, it seems to only return usable values after INSPECT_READY fires with that unit's GUID and stops doing so when another player is inspected or when ClearInspectPlayer() is called. This means the game client only stores inspect data for one player at a time and clears it when it's no longer needed.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)