Just want to know: Does Masque work in the Legion Beta? I personally don't have Beta access, but, since I do a few "skins" for Masque I figured I'd ask.
I would like to know how to get colored health text. I have some Lua code that was given to me, but it gives an error. This is the error:
["message"] = "PitBull4_LuaTexts:Orctious-Quest:Lua:Health caused the following error:\ninteger overflow attempting to store -1.#IND",
["time"] = "2014/10/25 13:45:54",
["stack"] = "Interface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:829: in function <Interface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:816>\nInterface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:901: in function <Interface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:856>\nInterface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:1282: in function <Interface\\AddOns\\PitBull4_LuaTexts\\LuaTexts.lua:1238>",
And here's the Lua text I have now:
Outline()
local cur, max = HP(unit), MaxHP(unit)
local PerHP = max > 0 and cur/max or 0
local hr, hg, hb
if (PerHP < 0.5) then
hr = 255
hg = 255 * PerHP * 2
hb = 0
else
hr = 255 * (1 - ((PerHP - 0.5) * 2))
hg = 255
hb = 0
end
return "|cff%02x%02x%02x%s",hr,hg,hb,Short(cur,true)
Thank you for reading this, and I hope someone can help me.
Good deal. As soon as I can snag a functional action bar add-on, I'll be able to give it a full test. Thanks. :)
Dominos has a MoP ready beta (Dominos MoP Beta). Just make sure the "Always Show Action Bars" (or similar wording) option is off in the default (Blizzard) action bar options, or you'll be seeing "shadow bars".
Thanks StormFX. Unfortunately, though, until there's a MoP version of the Ace3 libraries, things look to be on hold. (Although, I haven't checked for an update for A3 today, so......)
I just figured the author would have a clue, and since I wasn't in a crashing hurry I'd just ask. As it turns out it makes absolutely no difference at all. Masque just doesn't work (for me, anyway) in the MoP Beta. Yet.
I'm trying to do two things with lua texts on my frames, and can't figure it out.
I want to have my health text change color according to the level of health my character has. IE: Health text changes color as the amount of health gets lower.
The other thing I am trying to do is to get the power text to show the power color. Mana, Rage, whatever the power is, the power text will be in that color.
If anyone can tell me how to do this, I would appreciate it. I've tried searching this forum, but my search skills are, apparently, horribly lacking.
@Jeffy: I actually took out the font size option for skins. Some users actually use an add-on that controls their font (I know I do) and I don't want to interfere with that. What I may do is add a per-group option to enable the font for that skin. We'll see.
Thank you.
I actually read your answer the night it was posted, but I was in the middle of doing something else and just plain forgot to thank you for your answer. I figured I'd finish what I was doing and get back here right away. Obviously, that didn't work as intended, which is pretty much normal for the way things go for me. Sorry.
Is it possible to have a Button Facade (or Masque) skin call its' own font to use for the hot key layer? I know you can call the offsets and sizing, but how about the font it uses display the hot key?
I have authored a Button Facade skin (ButtonFacade_ClassButtons) and was wondering if there is anything specific that has to be changed in the "Skins.lua" file for it to work with Masque. I figure there's a name change involved (IE: Masque_ClassButtons), but have no idea what else needs to be changed to be compatible with Masque from my end.
Sorry, but I'm just not good at figuring out what needs to be done by going through the relevant API's.
Good luck. The top picture is an older (I know, you know!) version of Renaitre. You could try ButtonFacade: Renaitre and download either the newest (v0708 ) or the oldest (no version listed). One of them should do it. I would seriously recommend manually installing it and hanging on to the zip file for future use. The only thing I really didn't like about his latest release is that it is actually slightly larger (something like four pixels) and it threw my whole action bar set up off. Didn't look good (to me) at all.
0
0
And here's the Lua text I have now:
Thank you for reading this, and I hope someone can help me.
0
0
0
Dominos has a MoP ready beta (Dominos MoP Beta). Just make sure the "Always Show Action Bars" (or similar wording) option is off in the default (Blizzard) action bar options, or you'll be seeing "shadow bars".
0
0
I just figured the author would have a clue, and since I wasn't in a crashing hurry I'd just ask. As it turns out it makes absolutely no difference at all. Masque just doesn't work (for me, anyway) in the MoP Beta. Yet.
0
Just wondering since I'd like to test my Masque plug-ins on the Beta.
0
I want to have my health text change color according to the level of health my character has. IE: Health text changes color as the amount of health gets lower.
The other thing I am trying to do is to get the power text to show the power color. Mana, Rage, whatever the power is, the power text will be in that color.
If anyone can tell me how to do this, I would appreciate it. I've tried searching this forum, but my search skills are, apparently, horribly lacking.
0
Thank you.
I actually read your answer the night it was posted, but I was in the middle of doing something else and just plain forgot to thank you for your answer. I figured I'd finish what I was doing and get back here right away. Obviously, that didn't work as intended, which is pretty much normal for the way things go for me. Sorry.
Thanks again.
0
0
0
Sorry, but I'm just not good at figuring out what needs to be done by going through the relevant API's.
0
But that's me.