Hi all! First of all, I do know about Azurah, but since it relies on LibStub, I'd rather not use it. And since my needs are simple (moving target and party/raid frames), I thought I'd just make my own quick Addon, especially since I've done my share in wow already. But I can't seem to figure out how to access/move the standard UI frames. I'm not sure I get the difference between frame and control - if it's even needed for this?
These are my failed attempts so far:
local targetFrame = _G["ZO_TargetUnitFrame"]
local targetFrame = ZO_TargetUnitFrame
local targetFrame = UnitFrames:GetFrame("ZO_TargetUnitFrame")
local targetFrame = ZO_UnitFrames_GetUnitFrame("ZO_TargetUnitFrame")
local targetFrame = ZO_UnitFrames_GetUnitFrame("reticleover")
And then:
targetFrame:ClearAnchors()
targetFrame:SetAnchor(ZO_Anchor:New(TOP, GuiRoot, TOP, 0, 0))
Any and all help is appreciated!