WoW In-game API question - Addon development

Currently you’re able to track castbars/icons for all nameplates and show target and on who it’s going to be cast on. This information is available.

I tried accessing this information and simply iterating the collection of all cast bars and show an icon on the Party Frames of incoming cast on this player.. Rather than having to do this “filtering” by reading the target names and correlating this on the party frame player names (some people are Russian and have their names in Cyrillic which I don’t read so it’s even more confusing).

Being able to know that for example Party member 3 has an incoming cast that can potentially 1shot him is crucial as a healer role.. and being able to pre absorb/dmg reduction or even pre heal for this is necessary.. Even when the info is already available, I want to reduce the time is takes to do the filtering myself show the icon of the incoming cast on the player frame… There’s many ways to track this but all roads eventually need to check somewhere that the cast is for party3 - however, whenever the check happens is when I run into the secret value taint.

I highly doubt that the changes to addons was meant to remove this functionality.. hence I’m asking how this is still possible without having to taint secret values.. perhaps running a native WoW api call to check compare two unitGuids e.g.:

local function UnitIsSame(unitA, unitB)

local ga = UnitGUID(unitA)

return ga ~= nil and ga == UnitGUID(unitB)

end

TLDR;

Tracking nameplates for targets (with overlapping nameplating for example) is too annoying.

Having an addon read all nameplates and show nameplate1Target names and having to compare names is tedious / confusing especially when having players with Cyrillic names.

Being able to render an icon on the player/party frame of who the cast is going to be on (the info is already available, but displaying it correctly runs into secret taints by having to compare two unit Guids)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.