Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-06-09, 06:38 AM   #1
Arcage
A Murloc Raider
Join Date: Oct 2008
Posts: 6
Orb colour change with health

Hi Guys,

I'm sry if this has been covered, I've just spend close to 2hrs scowering through pages of code and replies.

Is there a way to make the health colour change with the values (in my case it would be the orb colour (rothui)).
Meaning at 100 = class colour, 75 = yellow, 50 = orange, 25 = red (prehaps changing the animation/background texture). Ideally with a smooth transition bewteen colours.

I saw a few posts talking about min/max health, though being new to Lua code I'm not sure they were referring to this or more the text colour.
I get in the situation when multimob grinding, my health gets to 25% and I havent even noticed because it;'s still the same colour, and the swirl animation tends to hide somewhat the empty orb.

If I'm not in the right area, please let me know.

Keep up the great work.
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Orb colour change with health


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off