So I am attempting to make a split orb type of health and power. (kind of like Zorks D3's but with a combined orb instead of two separate). I figured out the status bar graphics and what not but for the life of me I can not grasp how to mask the bar so that it fades flat(?) instead of crushing the bar down and spilling out of the sides of the bg. Has anyone tackled this problem already?
I'm thinking I missed something basic. Like a setting or something I can't find.
--// from lib.cfg
lib.init = function(f)
lib.gen_hpbar = function(f)
local s = CreateFrame("StatusBar", nil, f)
local b = s:CreateTexture(nil, "BACKGROUND")
f.Health = s
f.Health.bg = b
local function CreatePlayerStyle(self)
--style specific stuff
self.width = 128
self.height = 256
self.scale = 1
self.mystyle = "player"
self.Health.frequentUpdates = true
self.Health.colorClass = true
self.Health.bg.multiplier = 0.3
self.Power.colorPower = true
self.Power.bg.multiplier = 0.3
It is in one thread. It is in two forums. It is possible someone lives here that may know the answer as I see LUA questions here and that is the problem I am having no? Its not like I have multiple threads spamming the same question all over the place. It is in the two places I frequent for answers as they do not mirror each other.
This is not the first oUF reference here and considering it is written in LUA and no C# or something I see nothing wrong with asking here.
I could understand comment and acting like you are helping the moderators had I been saying I have this idea code it for me, but I am trying to figure this out on my own and sharing the knowledge in the process.