Quantcast Question about spellrange fade - WoWInterface
Thread Tools Display Modes
12-15-14, 06:42 AM   #1
devilArt
A Cyclonian
 
devilArt's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 43
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.
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
12-15-14, 01:52 PM   #3
devilArt
A Cyclonian
 
devilArt's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 43
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