MZ HUD Maker Ultra Pro, Show/Update Help Window in Battle

Good morning and Happy New Year all,

I am working with SRDs HUD Maker Ultra Pro and wondering if anyone knows how to not only call the help window in battle manually, but also to update the contents of the help window via script call.

I'm adding buttons to my scene and want to show descriptions when hovering over the buttons:


1704212064577.png
I only know the MV version of HUDMaker but as far as I know the HUD elements only respond to switches so you would have to control them that way. Youd have to either use NRP Parallel Common Events in Battle to regularly check mouse cursor position or Triacontane's PictureCallCommon which works in battle
Can use code in MZ =>

1704212743527.png


Was trying to avoid doing it to trigger a common event, but I suppose I could go that route as well. Buuuuut i'd still need the proper script call lol
Got it with some help from Drag

if (!SceneManager?._scene?._helpWindow) return; SceneManager._scene._helpWindow.setItem(yourSkill); SceneManager._scene._helpWindow.show();

Is the script needed.

Total script to have it activate on hover only

1704217032707.png


if (isHovered){ if (!SceneManager?._scene?._helpWindow) return; SceneManager._scene._helpWindow.setItem(skill); SceneManager._scene._helpWindow.show(); } else { SceneManager._scene._helpWindow.hide(); }


Replace "skill" with the reference to the skill you need to show info on.

I added in a hide for the helpWindow otherwise it'll linger after you're off hover.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/hud-maker-ultra-pro-show-update-help-window-in-battle.164401/