Quantcast
Range check - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
04-29-18, 03:07 AM   #1
GreyFox777
A Cliff Giant
Join Date: Jan 2017
Posts: 74
Range check

Hello guys, can you help me please?

Im trying to make the range check for party1target, but it should parent to party1 frame.

How it works for me:

If player are too far away from party1 then party1 alpha is 0.6
If the target of party1 not too far away, then alpha is set to 1.

But it should work, like so:

If party1target is in range but party1 not, then it should set the alpha to 0.6 to both frames...


My code at the bottom of lua file

Lua Code:
  1. self.Range = cfg.frames.range

Any way to modify it?


Have also attached a range lua file from oUF
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Range check

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