You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This mod hides enemy name labels on the compass if the enemy health bar is visible, since otherwise they would overlap. It checks whether or not the bar is visible by testing whether or not HUDMenu.EnemyHealth_mc.BracketsInstance._alpha is greater than zero, which corresponds to how the vanilla game hides that bar.
However TrueHUD hides the enemy bar by setting EnemyHealth_mc._alpha to zero, which means it isn't always recognized as hidden by CNO. I haven't confirmed but I believe iHUD does the same thing. This results in enemy name labels disappearing most of the time in combat, even when they wouldn't be overlapping anything.
I think the solution would be to consider the bar hidden when eitherEnemyHealth_mc.BracketsInstance._alpha or EnemyHealth_mc._alpha is zero. I would submit a PR but I don't really have the tools to work with flash.
The text was updated successfully, but these errors were encountered:
This mod hides enemy name labels on the compass if the enemy health bar is visible, since otherwise they would overlap. It checks whether or not the bar is visible by testing whether or not
HUDMenu.EnemyHealth_mc.BracketsInstance._alpha
is greater than zero, which corresponds to how the vanilla game hides that bar.However TrueHUD hides the enemy bar by setting
EnemyHealth_mc._alpha
to zero, which means it isn't always recognized as hidden by CNO. I haven't confirmed but I believe iHUD does the same thing. This results in enemy name labels disappearing most of the time in combat, even when they wouldn't be overlapping anything.I think the solution would be to consider the bar hidden when either
EnemyHealth_mc.BracketsInstance._alpha
orEnemyHealth_mc._alpha
is zero. I would submit a PR but I don't really have the tools to work with flash.The text was updated successfully, but these errors were encountered: