Code:
FCF_ResetChatWindows()
FCF_SetLocked(ChatFrame1, 1)
FCF_DockFrame(ChatFrame2)
FCF_SetLocked(ChatFrame2, 1)
FCF_OpenNewWindow(LOOT)
FCF_UnDockFrame(ChatFrame3)
FCF_SetLocked(ChatFrame3, 1)
ChatFrame3:Show()
for i = 1, NUM_CHAT_WINDOWS do
_G["ChatFrame"..i]:SetMovable(true)
_G["ChatFrame"..i]:SetUserPlaced(true)
_G["ChatFrame"..i]:SetHeight(135)
_G["ChatFrame"..i]:SetWidth(414)
_G["ChatFrame"..i]:ClearAllPoints()
-- move general bottom left
if i == 3 then
_G["ChatFrame"..i]:SetPoint("BOTTOM", 462, 47)
else
_G["ChatFrame"..i]:SetPoint("BOTTOM", -462, 47)
end
FCF_SavePositionAndDimensions(_G["ChatFrame"..i])
FCF_SetLocked(_G["ChatFrame"..i], 1)
That is a code snippet of my code, but i have one more problem, when this function runs it positions the general chat and combatlog correctly but the "Loot"(ChatFrame3) stays at the position as if it was docked and only when i manually move the frame; it goes to the correct position when i release the mousebutton.
What do i have to do to force it to be at the given location without interaction?