Thread Tools Display Modes
10-11-12, 05:15 PM   #1
defkon
A Murloc Raider
Join Date: Jul 2010
Posts: 5
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?
  Reply With Quote
10-12-12, 09:33 AM   #2
Fhait
A Cliff Giant
Join Date: Dec 2006
Posts: 76
Originally Posted by defkon View Post
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

Last edited by Fhait : 10-12-12 at 09:35 AM.
  Reply With Quote
10-13-12, 12:36 AM   #3
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
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
__________________
RDX manager
Sigg
  Reply With Quote

WoWInterface » Featured Projects » OpenRDX » OpenRDX Community » OpenRDX: Community Chat » out of range

Thread Tools
Display Modes

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