Forum: Lua/XML Help
03-04-17, 08:08 PM
|
Replies: 7
Views: 2,344
|
Forum: AddOn Help/Support
11-18-15, 07:10 PM
|
Replies: 7
Views: 4,056
Well. I feel like an idiot now. :o I had been...
Well. I feel like an idiot now. :o I had been assuming that the end statement was for the function as a whole. I suppose I should have realized that, considering my programming background is with C...
|
Forum: AddOn Help/Support
11-18-15, 06:21 PM
|
Replies: 7
Views: 4,056
function(unit, cache, textframe)
if...
function(unit, cache, textframe)
if UnitPowerType("player") == 0 then
local z = math.max(0, UnitPower("player")) / math.max(1, UnitPowerMax("player")) * 100;
return string.format("%.f", z) .....
|
Forum: AddOn Help/Support
11-18-15, 04:46 PM
|
Replies: 7
Views: 4,056
Thank you for your reply. My previous code did...
Thank you for your reply. My previous code did actually have an end statement. It was tucked away at the end of the else statement. Unfortunately, your code doesn't seem to work for me either. The...
|
Forum: AddOn Help/Support
11-18-15, 06:47 AM
|
Replies: 7
Views: 4,056
Need help with Stuf Unit Frames custom LUA
Hey there,
As the title suggests, I'm looking for some help with some custom LUA coding for Stuf Unit Frames. I'll try to be as specific as I can be while trying this at 5:45am. :D
What I'm trying...
|