Thread Tools Display Modes
04-04-10, 09:53 PM   #1
decipio
A Deviate Faerie Dragon
Join Date: Oct 2008
Posts: 11
Need help with a question about shading.

Ok, what I would like to do is fade my statusbar when certain conditions are met. If I am in combat or I am less than full health, I would like the alpha to be set to 1. If not in combat and my health is max, I would like the alpha to be set to 0.

I'm not sure if this makes sense to anyone else. It works in my head. If someone could point me in the direction I need to be facing, I'd be very grateful.
  Reply With Quote
04-05-10, 01:52 AM   #2
Brainn
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 263
you will need a filterset, then add a "Variable: Unit in Set" to your unitframe and use the unitinsetvariablename_flag variable for your conditional alpha shader. the filterset should look like this:

you could also set the hp feature to missing/numerical/lower bound=1/upper bound=99999, this would be more acurate, but from your description missing 1hp would not be of interest, just play around with the values and see what fits your needs

Last edited by Brainn : 04-05-10 at 01:57 AM.
  Reply With Quote
04-05-10, 08:05 PM   #3
decipio
A Deviate Faerie Dragon
Join Date: Oct 2008
Posts: 11
That did the trick. Thanks for the help.
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » Need help with a question about shading.


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