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?