|
LUA:
local f = CreateFrame("FRAME")
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:SetScript("OnEvent", onEvent)
f:Show()
local onEvent()
if event == "PLAYER_ENTERING_WORLD" then
PartyFrame:SetScript("OnUpdate", nil)
PartyFrame:Hide()
end
end
This will nuke the party frames as soon as you login/reload and keep it that way by niling out the OnUpdate scripts, thus preventing them from automatically showing again for whatever reason.
[edited by: ChaosInc at 11:28 AM (GMT -6) on 13 Sep 2009]
Ick, our code format is horrible...
|