View Single Post
06-05-19, 08:50 AM   #4
MinguasBeef
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: May 2019
Posts: 51
Okay, so i've looked more into it and i'm a bit stuck on something.
Code:
function ScanTest()
    local frames = { WorldFrame:GetChildren() }

    for _, plate in ipairs(frames) do
        local name = plate:GetName()
        if (name ~= nil) then
            if (name:find("NamePlate")) then
                print(UnitName(plate:GetName()))
            end
        end
    end
end
In this example, i'm scanning the frames to get the nameplates. If I have nameplates on, this is fine and I can get their info IF they are close to me.

However, if I don't have nameplates on, I can't get info like this... There was an addon made for 1.12 that was able to scan plates without having nameplates on. It also wasn't restricted to the short distance that nameplates have in classic wow beta. Any ideas how I can get around this issue?
  Reply With Quote