Get info from target
I trying to get a specc info from the target by:
Code:
local id = GetInspectSpecialization("target") Also is there any way to the the "Block chance" info from a target? |
Are you calling NotifyInspect() first and waiting for the proper event before doing this?
|
I'm thinking passing a unit to these functions is indicative of a future plan for addons to query inspect info on multiple targets at once. Right now, inspect info is still only available for one target at a time. As Seerah mentioned, you still need to call NotifyInspect() on the unit and wait for INSPECT_READY to fire with that unit's GUID. Otherwise, the game client will have no info for the unit.
|
I see, i toguht it's working as like as GetSpecialization().
|
Nope. To get info about another player's gear, talents, spec, or achievements you have to use the inspection system, as SDPhantom outlined.
|
I miss the inspection system from before Gearscore :(
|
Well i pretty sure they nerfed it because addons caused an awful lot of inspect traffic.
|
I haven't really noticed any difference. Then again, I haven't worked with the inspect system for very long. I think I started using it in WotLK as a cross-faction level detection system since we were able to grab talent points spent/available on non-PvP players. It was less accurate in Cata since you were only given one point every 2 lvls for a big part of the leveling range.
|
All times are GMT -6. The time now is 05:54 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI