Thread Tools Display Modes
03/10/20, 05:32 PM   #1
Greevir
 
Greevir's Avatar
Join Date: Mar 2014
Posts: 27
Remove boss health from compass.

Is there an addon anywhere that removes the boss health from the compass or how difficult would it be to do so? I already use a UI that has it's own boss bar and I kinda hate how the vanilla one covers the compass anyways.
  Reply With Quote
03/10/20, 11:34 PM   #2
KLISK
 
KLISK's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 21
Perhaps I will add such a setting in PerfectPixel.
  Reply With Quote
03/11/20, 08:08 AM   #3
Greevir
 
Greevir's Avatar
Join Date: Mar 2014
Posts: 27
Originally Posted by KLISK View Post
Perhaps I will add such a setting in PerfectPixel.
That would be great! Thank you!
  Reply With Quote
03/11/20, 08:38 AM   #4
Marazota
AddOn Author - Click to view addons
Join Date: Sep 2015
Posts: 257
i already have this option in one of my addons
dont know which one
mby lui extended
or compass maintenance

  Reply With Quote
03/11/20, 09:05 AM   #5
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
You can hide it in LuiExtended. Under the default frames menu in LuiExtended - Unitframes you can toggle the compass boss bar off.

If somebody else wants to implement it in another addon feel free to just snag my code for it.
  Reply With Quote
03/11/20, 11:47 AM   #6
KLISK
 
KLISK's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2018
Posts: 21
Since I use LUI, maybe I don’t need to add anything

@ArtOfShred do you intercept this function COMPASS_FRAME:GetBossBarActive()?

Last edited by KLISK : 03/11/20 at 11:55 AM.
  Reply With Quote
03/11/20, 12:29 PM   #7
ArtOfShred
 
ArtOfShred's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 103
Originally Posted by KLISK View Post
Since I use LUI, maybe I don’t need to add anything

@ArtOfShred do you intercept this function COMPASS_FRAME:GetBossBarActive()?
Edit: Just took a quick look and looks like I hook BOSS_BAR.RefreshBossHealthBar().

And the menu toggle function calls COMPASS_FRAME:SetBossBarActive(true/false) depending on the setting to turn the bar directly on and off - just in case the player toggles it while they are standing in range of a boss.

Searching for "compass" in UnitFrames.lua gets you the two relevant functions for handling.

Last edited by ArtOfShred : 03/11/20 at 12:38 PM.
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Remove boss health from compass.

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