i set to shown just to make sure it didn't accidentally get hidden
then i asked it to undock
then in a local frame which fires only on player enters world itrolls out the imprtant placement and scaling sh** for the UI
Lua Code:
SetChatWindowShown(2, 1)
SetChatWindowDocked(2, 0)
SetCVar("useuiScale", 1);
SetCVar("displaySpellActivationOverlays", 0);
SetCVar("uiScale", 0.64);
local aspect = CreateFrame("frame", nil, UIParent)
aspect:RegisterEvent("PLAYER_ENTERING_WORLD")
aspect:SetScript("OnEvent", function(self, event)
UIParent:SetScale(0.6) -- DO NOT CHANGE THIS
ChatFrame2:ClearAllPoints()
ChatFrame1:ClearAllPoints()
ChatFrame1:SetPoint('BOTTOMLEFT','UIParent','BOTTOMLEFT',1955 ,45)
ChatFrame1:SetPoint("TOPRIGHT","UIParent","BOTTOMLEFT",1445 ,265)
ChatFrame2:SetPoint('BOTTOMLEFT','UIParent','BOTTOMLEFT',955 ,45)
ChatFrame2:SetPoint("TOPRIGHT","UIParent","BOTTOMLEFT",445 ,265)
aspect:UnregisterAllEvents()
end)