Thread Tools Display Modes
03-23-10, 07:08 PM   #1
quopop
A Kobold Labourer
Join Date: Mar 2010
Posts: 1
Disabling raid/party frames

I've scoured through the sub-addons for oUF and can't find a way of removing the party/raid frames.
Any help would be greatly appreciated
  Reply With Quote
03-23-10, 08:55 PM   #2
Bruners
A Flamescale Wyrmkin
 
Bruners's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 125
What layout are you using?
Anyway open the layouts .lua file in a text editor and locate the part where it says (most likely at the bottom)

Code:
local party = oUF:Spawn("header", "oUF_Party")
and comment it out by inserting two -- in front of the code or remove it completely, this includes any extra lines with settings that is in there. since you didn't tell what layout you are using it's hard to say.

Code:
This is not commented out
--but this is
this is not
--[ this 
  is also 
commented out ]]--
There is also a raid header which would look something like this

Code:
local raid = oUF:Spawn("header", "oUF_Raid")
So for a sample layout it would look like this when you are done
Code:
...

--[[ local party = oUF:Spawn("header", "oUF_Party")
party:SetPoint(x,y,z,v)
party:SetManyAttributes(
	"showParty", true,
	"yOffset", -100,
	"xOffset", -40,
	"maxColumns", 2,
	"unitsPerColumn", 2,
	"columnAnchorPoint", "LEFT",
	"columnSpacing", 40,
) 
party:Show()
]]--

Last edited by Bruners : 03-23-10 at 08:59 PM.
  Reply With Quote
03-24-10, 02:04 AM   #3
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
or you can do

Change
Code:
party:Show()
Code:
party:hide()
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Disabling raid/party frames


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