hey guys.. i seem to be having some problems with my party frames( when in dungeons) everytime i open game and go into dungeons my party statusbars screw up... their backdrop goes away... and all i get is the background(Pitchblack) of the frame itself.
here is also my backdrops used...
lua Code:
local backdrop = {
bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\back.tga",
insets = {top = -1.3, left = -1.3, bottom = -1.3, right = -1.3},
}
local backdrop2 = {
bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\back.tga",
insets = {top = -1, left = -1, bottom = -1, right = -1},
}
local statusback = {
bgFile = "Interface\\AddOns\\oUF_Barbol\\media\\statusbar.tga",
insets = {top = 0, left = 0, bottom = 0, right = 0},
}
here is the coding for my party frame
lua Code:
local cParty = function(self)
self:SetSize(220, 20)
--Background--
Back = CreateFrame('Frame', nil, self)
Back:SetPoint('TOPRIGHT', self)
Back:SetPoint('TOPLEFT', self)
Back:SetFrameStrata('LOW')
Back:SetBackdrop(backdrop)
Back:SetBackdropColor(0.05, 0.05, 0.05)
Back:SetHeight(31)
--:: HEALTH ::--
--: BAR :--
self.Health = CreateFrame('StatusBar', nil, self)
self.Health:SetBackdrop(statusback)
self.Health:SetBackdropColor(0.7,0.7,0.7)
self.Health:SetFrameStrata('LOW')
self.Health:SetPoint('TOPRIGHT', self)
self.Health:SetPoint('TOPLEFT', self)
self.Health:SetStatusBarTexture(statusbar)
self.Health:SetStatusBarColor(0.28,0.28,0.28)
self.Health.frequentUpdates = FreqUpdate
self.Health.Smooth = cSmooth
self.Health:SetHeight(23)
self.Health.colorClass = false
-- TEXT PERCENT --
self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
self.Health.Text:SetFont(fontn, 15, 'THINOUTLINE')
self.Health.Text:SetShadowOffset(1, -1)
self.Health.Text.frequentUpdates = FreqUpdate
self:Tag(self.Health.Text,'[My_PerHP]|r')
self.Health.Text:SetJustifyH('CENTER')
self.Health.Text:SetPoint('CENTER',self, 10, -3)
-- OFFLINE --
self.Health.Text = self.Health:CreateFontString(nil, 'OVERLAY')
self.Health.Text:SetFont(fontn, 13, 'THINOUTLINE')
self.Health.Text:SetShadowOffset(1, -1)
self.Health.Text.frequentUpdates = FreqUpdate
self:Tag(self.Health.Text,'[offline]|r')
self.Health.Text:SetJustifyH('CENTER')
self.Health.Text:SetPoint('BOTTOMRIGHT',self.Health,'BOTTOMRIGHT', 0, -17)
--:: POWER ::--
--: BAR :--
self.Power = CreateFrame('StatusBar', nil, self)
self.Power:SetBackdrop(statusback)
self.Power:SetBackdropColor( .6,.6,.6, .4)
self.Power:SetFrameStrata('LOW')
self.Power:SetPoint('TOPRIGHT', self.Health, 'BOTTOMRIGHT', 0, -1)
self.Power:SetPoint('TOPLEFT', self.Health, 'BOTTOMLEFT', 0, -1)
self.Power:SetStatusBarTexture(statusbar)
self.Power:SetStatusBarColor(0.28,0.28,0.28)
self.Power.frequentUpdates = FreqUpdate
self.Power.Smooth = cSmooth
self.Power:SetHeight(7)
self.Power.colorClass = true
--:: NAME ::--
self.Info = self.Health:CreateFontString(nil, 'OVERLAY')
self.Info:SetShadowOffset(1, -1)
self.Info:SetAlpha(1)
self.Info:SetFont(fontn, 15, 'THINOUTLINE')
self:Tag(self.Info,'[raidcolor] [name]' )
self.Info:SetJustifyH('LEFT')
self.Info:SetPoint('LEFT',self.Health,'LEFT', -1, 12)
--:: ICONS ::--
--: LEADER :--
self.Leader = self.Health:CreateTexture(nil, 'OVERLAY')
self.Leader:SetPoint("BOTTOMLEFT", self.Health,'BOTTOMLEFT', 0, 0)
self.Leader:SetHeight(14)
self.Leader:SetWidth(14)
--: RAIDS ICONS :--
createRaidIcon(self)
self.RaidIcon:SetPoint("TOP", self.Health, "TOP", 9, 8)
end
anyone see something wrong?
but the funny thing, is when i just make a party(outside dungeons) like with just 1 guild member, or something(for example) it works perfectly fine.