Thread Tools Display Modes
12-15-14, 06:42 AM   #1
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 51
Question about spellrange fade

Hi guys
Spellrange fade only work with party/raid unitframe, is that intend to or I missed something?
I put these to target or focus, didn't work at all

Code:
self.Range = {
      insideAlpha = 1,
      outsideAlpha = .4,
   }
  Reply With Quote
12-15-14, 12:15 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
UnitInRange (the game API function used by oUF's Range element) only works on players in your group. It should work on the target and focus frames when you're targeting a group member, but it won't work on NPCs or players outside your group.

If you want to check ranges on other units, you'll need to use the oUF Spell Range plugin, and a layout that supports it.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
12-15-14, 01:52 PM   #3
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 51
thanks, really appreciate it.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Question about spellrange fade

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