lua help - WoWInterface
Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-07-19, 07:40 PM   #1
A Cliff Giant
Join Date: Jan 2017
Posts: 74
lua help

Can anyone help me please?

I have following code
Lua Code:
  1. zzz = CreateFrame("Frame", nil, nil)
  2. zzz:RegisterEvent("PLAYER_ENTERING_WORLD")
  3. zzz:SetScript("OnEvent", function(self, event)
  4. ComboPointPlayerFrame:ClearAllPoints()
  5. ComboPointPlayerFrame:SetParent(MyNewFrame)
  6. ComboPointPlayerFrame:SetPoint('BOTTOM', MyNewFrame, 0, 9)
  7. ComboPointPlayerFrame:SetScale(1.43)
  8. end)

It makes the Combo points frame anchoring to my custom frame.

SetParent is for showing it up, because PlayerFrame is disabled via other addon.

Sooo, and it gives me always an error about family anchoring bla bla bla since 8.2 patch...
i know blizzard did something to the frames since 8.2

But the thing is: the code is working but this error... is there any way to get rid of it?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » lua help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off