Show HUD during dialogue: add option to keep hotbars/UI visible when talking to NPCs or interacting

Made-with: Cursor
This commit is contained in:
2026-02-26 02:47:33 -05:00
parent cb7b09a820
commit b635e72084
2 changed files with 19 additions and 0 deletions
+13
View File
@@ -557,6 +557,15 @@ namespace HSUI.Interface
return false;
}
// When "Show HUD during dialogue" is on, keep HSUI visible during NPC dialogue and object interaction
// even if the game hides the parameter bar
var hudOptions = ConfigurationManager.Instance?.GetConfigObject<HUDOptionsConfig>();
if (hudOptions?.ShowHudDuringDialogue == true &&
(Plugin.Condition[ConditionFlag.OccupiedInQuestEvent] || Plugin.Condition[ConditionFlag.OccupiedInEvent]))
{
return true;
}
AtkUnitBase* parameterWidget = (AtkUnitBase*)Plugin.GameGui.GetAddonByName("_ParameterWidget", 1).Address;
AtkUnitBase* fadeMiddleWidget = (AtkUnitBase*)Plugin.GameGui.GetAddonByName("FadeMiddle", 1).Address;
@@ -568,6 +577,10 @@ namespace HSUI.Interface
protected bool ShouldOnlyShowCastbar()
{
var hudOptions = ConfigurationManager.Instance?.GetConfigObject<HUDOptionsConfig>();
if (hudOptions?.ShowHudDuringDialogue == true)
return false;
// when in quest dialogs and events, hide everything except castbars
// this includes talking to npcs or interacting with quest related stuff
if (Plugin.Condition[ConditionFlag.OccupiedInQuestEvent] ||