View Single Post
Old 10-03-08, 05:37 PM   #18
vadda
A Defias Bandit
Join Date: Oct 2008
Posts: 3
Originally Posted by Coldfury View Post

something like
blackframe:SetPoint('TOP', oUF.units.player, 'BOTTOM', 0, -9)
blackframe2:SetPoint('TOP', oUF.units.target, 'BOTTOM', 0, -9)
I created a second blackbar like this:

Code:
blackbar2 = CreateFrame("Frame", nil, oUF.units.target)
blackbar2:SetHeight(150)
blackbar2:SetWidth(300)
blackbar2:SetFrameStrata("LOW")
bla = blackbar2:CreateTexture(nil,"BACKGROUND")
bla:SetTexture(0,0,0)
bla:SetAllPoints(blackbar2)
blackbar2.texture = bla
blackbar2:SetPoint('TOP', oUF.units.target, 'BOTTOM', 0, 90)

Now I see the second black-bar constantly on the bottom of the screen.
Even if I have no target selected. Quite weird.
vadda is offline