Thread Tools Display Modes
04-21-08, 12:09 PM   #1
shiin
A Fallenroot Satyr
Join Date: Feb 2005
Posts: 23
Getting rid of Blizzard's PartyFrame

I'm trying to disable Blizzard's PartyFrame for my own unitframes-addon. But it keeps returning during the game and I cannot find out why. Currently I'm doing the following to disable them:

During addon initialization:
Code:
for i=1,4 do
	local frame = getglobal("PartyMemberFrame"..i)
	frame:UnregisterAllEvents()
	frame:Hide()
end
HidePartyFrame();
As securehook for "RaidOptionsFrame_UpdatePartyFrames":
Code:
	HidePartyFrame();
I've also checked PerfectRaid but they apparently do not do more. Does anybody know what I am missing?
  Reply With Quote
04-22-08, 02:17 AM   #2
shiin
A Fallenroot Satyr
Join Date: Feb 2005
Posts: 23
To answer myself:
The first part seems to suffice for the normal party mode. For the raid mode just use the standard UI option "Hide Party Frame during Raid" and all is good, the second part isn't even necessary.

Yeah for easy answers.
  Reply With Quote
07-12-08, 03:10 PM   #3
Dzinn
A Defias Bandit
Join Date: Jul 2008
Posts: 3
Originally Posted by shiin View Post
I'm trying to disable Blizzard's PartyFrame for my own unitframes-addon. But it keeps returning during the game and I cannot find out why. Currently I'm doing the following to disable them:

During addon initialization:
Code:
for i=1,4 do
	local frame = getglobal("PartyMemberFrame"..i)
	frame:UnregisterAllEvents()
	frame:Hide()
end
HidePartyFrame();
Could you show where you include this segment of code for it to load on initialization?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Getting rid of Blizzard's PartyFrame


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