WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Question about spellrange fade (https://www.wowinterface.com/forums/showthread.php?t=50743)

devilArt 12-15-14 06:42 AM

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,
  }


Phanx 12-15-14 12:15 PM

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.

devilArt 12-15-14 01:52 PM

thanks, really appreciate it.


All times are GMT -6. The time now is 11:12 AM.

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