WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   OpenRDX: Community Chat (https://www.wowinterface.com/forums/forumdisplay.php?f=107)
-   -   out of range (https://www.wowinterface.com/forums/showthread.php?t=44740)

defkon 10-11-12 05:15 PM

out of range
 
is there anyway to turn the whole button red when a spell target is out of range. if so how do you do it? also, how do you make a UF dim when someone is out of healing range?

Fhait 10-12-12 09:33 AM

Quote:

Originally Posted by defkon (Post 266547)
is there anyway to turn the whole button red when a spell target is out of range. if so how do you do it? also, how do you make a UF dim when someone is out of healing range?

You'll want to use a 'conditional alpha' flag for the dimming of the unit frame. You set the alpha values for true/false, along with the variable you want to use to determine the true/false state, and then apply that conditional alpha to the frame.

Healing spells all have a range of 40yrds. If you look in the 'Builtin' folder, you will see a number of range based flags that you can use.

For the button, you could put a border around the button, and then use the same type of conditional alpha flag to color the border. You could also put in a background shader and do the same type of thing with the background. (assuming the button is smaller than the background so that you can see the background changing color)

= F

sigg 10-13-12 12:36 AM

There are only two types of shader at the moment, border or key coloriser (out of range, out of power etc ...)

I will add soon the vertex color on the icon.

Cheers


All times are GMT -6. The time now is 03:09 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI