Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: Darsyek
Forum: Lua/XML Help 03-04-17, 08:08 PM
Replies: 7
Views: 2,344
Posted By Darsyek
Difference(s) between targettarget & playertargettarget?

As the title suggests, I'm curious if there's any functional difference between the unitid targettarget versus playertargettarget? My first impression is that's they'd both be practically identical...
Forum: AddOn Help/Support 11-18-15, 07:10 PM
Replies: 7
Views: 4,056
Posted By Darsyek
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
Posted By Darsyek
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
Posted By Darsyek
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
Posted By Darsyek
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...
Showing results 1 to 5 of 5