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:
Any way to modify it? Have also attached a range lua file from oUF |
Range only works based on the player frame, that is, you cannot check range between other frames. WoW API doesn't support it. :)
It would lead to abuse. |
But strange, because i have worked WeakAuras that does it. So it possible, im sure.
|
or is there a way to set the parent on party frame but, with ability to correct the frame strata?
I tried parent and it work well, but frame strata goes crazy then... |
I might be wrong then. :)
Thought it was only possible to check ranged between the player frame. Someone can correct me if that is not the case. |
i think you right and oUF range doesen't work with ***target frames... Sadly.
But maybe is there a way to set alpha to a frame if another frame setted to alpha and copy this value? I tried with Quote:
|
Quote:
|
But is there no way for douing that?!
All my party target frame are not affected by alpha :( Seems a little not good |
I did it myself by setting parent.
Thread can be deleted. |
All times are GMT -6. The time now is 06:11 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI