PDA

View Full Version : How to remove party frames?



rezeerf
06-30-2006, 10:24 AM
I just updated to the newest verson of nurfed and I noticed that I cant remove the nurfed party frames in the unitframe options like I used to. How do I remove them?

rezeerf

rezeerf
07-03-2006, 08:47 AM
bump! ;)

rezeerf
07-09-2006, 11:47 AM
/bump

Deepmist
07-09-2006, 03:07 PM
There might be a more thourough way of doing it but in Defualt.lua remove:


party = {
type = "Button",
size = { 180, 41 },
FrameStrata = "LOW",
ClampedToScreen = true,
events = {
"PLAYER_ENTERING_WORLD",
"PLAYER_TARGET_CHANGED",
"PARTY_MEMBERS_CHANGED",
"PARTY_LEADER_CHANGED",
"PARTY_LOOT_METHOD_CHANGED",
"UNIT_NAME_UPDATE",
"UNIT_PVP_UPDATE",
"UNIT_LEVEL",
"UNIT_HEALTH",
"UNIT_MANA",
"UNIT_ENERGY",
"UNIT_RAGE",
"UNIT_MAXHEALTH",
"UNIT_MAXMANA",
"UNIT_MAXRAGE",
"UNIT_MAXENERGY",
"UNIT_DISPLAYPOWER",
"UNIT_AURA",
"UNIT_PET",
},
Backdrop = { template = "Nurfed_Unit_backdrop" },
BackdropBorderColor = { 0, 0, 0, 1 },
BackdropColor = { 0, 0, 0, 0.75 },
Movable = true,
Mouse = true,
children = {
hp = {
template = "Nurfed_Unit_hp",
properties = {
size = { 147, 12 },
Anchor = { "BOTTOMRIGHT", "$parent", "BOTTOMRIGHT", -5, 14 },
},
},
mp = {
template = "Nurfed_Unit_mp",
properties = {
size = { 147, 8 },
Anchor = { "BOTTOMRIGHT", "$parent", "BOTTOMRIGHT", -5, 5 },
},
},
buff1 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "TOPLEFT", "$parent", "BOTTOMLEFT", 4, 2 } } },
buff2 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff1", "RIGHT", 0, 0 } } },
buff3 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff2", "RIGHT", 0, 0 } } },
buff4 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff3", "RIGHT", 0, 0 } } },
buff5 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff4", "RIGHT", 0, 0 } } },
buff6 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff5", "RIGHT", 0, 0 } } },
buff7 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff6", "RIGHT", 0, 0 } } },
buff8 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff7", "RIGHT", 0, 0 } } },
buff9 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff8", "RIGHT", 0, 0 } } },
buff10 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff9", "RIGHT", 0, 0 } } },
buff11 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff10", "RIGHT", 0, 0 } } },
buff12 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff11", "RIGHT", 0, 0 } } },
buff13 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff12", "RIGHT", 0, 0 } } },
buff14 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff13", "RIGHT", 0, 0 } } },
buff15 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff14", "RIGHT", 0, 0 } } },
buff16 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentbuff15", "RIGHT", 0, 0 } } },
debuff1 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "TOPLEFT", "$parent", "TOPRIGHT", -3, -2 } } },
debuff2 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff1", "RIGHT", 1, 0 } } },
debuff3 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff2", "RIGHT", 1, 0 } } },
debuff4 = { template = "Nurfed_Unit_aura", properties = { Anchor = { "LEFT", "$parentdebuff3", "RIGHT", 1, 0 } } },
classicon = {
type = "Texture",
size = { 23, 23 },
layer = "OVERLAY",
Texture = "Interface\\Glues\\CharacterCreate\\UI-CharacterCreate-Classes",
Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 5, -4 },
},
highlight = {
type = "Texture",
size = { 130, 12 },
layer = "ARTWORK",
Texture = "Interface\\QuestFrame\\UI-QuestTitleHighlight",
BlendMode = "ADD",
Anchor = { "TOPRIGHT", "$parent", "TOPRIGHT", -5, -4 },
},
leader = {
type = "Texture",
size = { 12, 13 },
layer = "OVERLAY",
Texture = "Interface\\GroupFrame\\UI-Group-LeaderIcon",
Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 5, -25 },
},
master = {
type = "Texture",
size = { 11, 11 },
layer = "OVERLAY",
Texture = "Interface\\GroupFrame\\UI-Group-MasterLooter",
Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 16, -26 },
},
pvp = {
type = "Texture",
size = { 20, 20 },
layer = "OVERLAY",
Anchor = { "TOPRIGHT", "$parent", "TOPRIGHT", 4, -4 },
},
name = {
type = "FontString",
size = { 140, 10 },
layer = "OVERLAY",
Font = { NRF_FONT.."framd.ttf", 10, "NONE" },
JustifyH = "LEFT",
Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 28, -4 },
vars = { format = "[$key] $nam" },
},
hpperc = {
type = "FontString",
layer = "OVERLAY",
Font = { NRF_FONT.."framd.ttf", 9, "OUTLINE" },
JustifyH = "RIGHT",
Anchor = { "TOPRIGHT", "$parent", "TOPRIGHT", -15, -5 },
vars = { format = "$perc" },
},
},
OnEvent = function() Nurfed_Units_OnEvent() end,
OnClick = function() Nurfed_Unit_OnClick(arg1) end,
OnDragStart = function() Nurfed_Unit_OnDragStart() end,
OnDragStop = function() Nurfed_Unit_OnDragStop() end,
OnEnter = function() UnitFrame_OnEnter() end,
OnLeave = function() UnitFrame_OnLeave() end,
vars = { aurawidth = 176, aurasize = 16 },
},

a67rhf7823jn8747==