Quantcast
Show Player, Pet and Target Vitals on specific conditions - WoWInterface
Thread Tools Display Modes
09-26-22, 09:11 PM   #1
Elrigh
A Murloc Raider
Join Date: Sep 2014
Posts: 6
Show Player, Pet and Target Vitals on specific conditions

As Title says - I use Easyframes as Vitals right now and want to use the new implemented Frames in Dragonflight. There is an Option to hide the Vitals out of Combat but IŽd like additional conditions:
  • Hide when Out Of Combat OR
  • Hide When Vitals are 100% full OR
  • Hide when no Target is selected

Explanation: I want to see the Vitals as soon as I have a target, if the health (Pet as well) is not full, or when I enter Combat. Otherwise they should stay hidden. I already use MoveAnything to switch Vitals on and off with a Macro on a button, but this is annoying.

If possible, the vitals should be checked and shown individual.
If Target Exists then show all Vitals
If Target Does not Exist but Combat is true then show all Vitals
If Target Does not Exist and Combat is False and Health is 100% then hide Vital. (sepearate for Player, Pet, Focus).

I know that the conditions are available in different Addons so it should not be that hard to create an Addon which does exactly this. But it goes way over my ability to create one.

Is someone out there kind enough to pick up that task?
  Reply With Quote
09-30-22, 05:01 PM   #2
Elrigh
A Murloc Raider
Join Date: Sep 2014
Posts: 6
I knew I had seen this feature a while ago. Here is the Addon which made it possible back then:
https://www.wowinterface.com/downloa...Fade.html#info

Sadly it is broken. Error:

Message: Interface\AddOns\daftFrameFade\daftFrameFade.lua:10: Attempt to register unknown event "UNIT_HEALTH_FREQUENT"
Time: Sat Oct 1 00:51:36 2022
Count: 1
Stack: Interface\AddOns\daftFrameFade\daftFrameFade.lua:10: Attempt to register unknown event "UNIT_HEALTH_FREQUENT"
[string "=[C]"]: in function `RegisterUnitEvent'
[string "@Interface\AddOns\daftFrameFade\daftFrameFade.lua"]:10: in main chunk

Locals: (*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "UNIT_HEALTH_FREQUENT"
  Reply With Quote
10-02-22, 04:54 AM   #3
Elrigh
A Murloc Raider
Join Date: Sep 2014
Posts: 6
Fixed it by replacing UNIT_HEALTH_FREQUENT with UNIT_HEALTH.
Addon now works as intended. Does not work for Dragonflight Beta, producing loads of errors as expected.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Show Player, Pet and Target Vitals on specific conditions

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