Health text Colour
Hi guys
How can I colour the health text value by there health status.
So for say 2890 hp or 30% make the text red. Not the bar colour but the text itself.
I currently basically do this atm.
bar.value:SetText("|cff33EE44"..numberize(cur) .."|r.".. d.."%")
Which is Lyns code giving something like this 5000.50%.
Any help greatlt appreciated.
|