View Single Post
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