Headline transparency
Hello guys, well, i'm using
Code:
local bg = CreateFrame("Frame", nil, f) |
What you posted there is adding a background with 0.4 alpha.
What part of headline is it exactly that you want too add transparency too? If it's the background you can probably just edit any of these values .. i just took a quick peek at headlines code.. Code:
hpbg:SetTexture(0, 0, 0,0.4) Code:
if(UnitName('target') and frame:GetAlpha() == 1) then |
I made Headline look that way a while ago, and I perused through the code, trying to find what I edited... to no avail. However, I guess I could post the entirety of my Headline code, even though there is no educational value in that... I'll keep looking first ;) It's better to learn how to figure these things out than to have someone always hand it to ya :D
EDIT: Look down, the next post has the info :D |
Wall of text incoming! Here are the changes that you are gonna have to make ;)
Code:
if(UnitName('target') and frame:GetAlpha() == 1) then Code:
local function SkinObjects(frame) Code:
local cbbg2 = cb:CreateTexture(nil, 'OVERLAY') That SHOULD be all. Keep in mind that I use an older version, so there might be one or two things that have changed. I looked through the newer version, though, and it looks like it should work just fine. Lemme know if it works or not! |
Quote:
Quote:
It worked guys. Thanks for the help :) s2 |
Glad to be of service :)
|
All times are GMT -6. The time now is 04:09 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI