View Single Post
03-17-09, 09:32 AM   #905
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
Originally Posted by Caellian View Post
Feed the return of the tag above the the Hex function and have it convert it.

I don't understand
A short example would be:
Code:
local min, max = UnitHealth(unit), UnitHealthMax(unit)
return Hex(self.ColorGradient(min/max, 0.69, 0.31, 0.31, 0.65, 0.63, 0.35, 0.33, 0.59, 0.33))
Originally Posted by Caellian View Post
About the empty string, how else can i have it display "nothing" then.
By returning nothing