Quote Originally Posted by ZorbaTHut View Post
Quote Originally Posted by Thuggernaught View Post
Came across this in my addon. Anyone else get this error? I'm kinda puzzled by it.
Code:
cti.target.epbar:SetPoint("BOTTOMLEFT",cti.target.hpbar,"TOPLEFT")
is what's throwing the error out of context.
An example:
Code:
 local newframe = UI.CreateFrame("Frame", "name", context) newframe:SetWidth(400) -- awesome, the frame is 400 units wide newframe:SetPoint("TOPLEFT", UIParent, "TOPLEFT") -- and it's in the top-left of the screen newframe:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT") -- and it's . . . in the top-right of the screen? -- Oh no that doesn't work, it can't be in the topleft *and* the topright *and* 400 units wide! -- Abort, abort
Jump to post...