SRD HUD Maker / How Do You Hide HUD During Event?

I'm currently working on an addition to my game's HUD, which uses SRD's HUD Maker. I have been using MogHunter1's HUD for a few years now and it has a script command that hides/shows the HUD. SRD's HUD Maker has a similar feature where you can link the visibility of any gauges you make to a switch. So, I did just that and tested it on an event, by itself, and sure enough, it turns the HUD on and off.

The issue arises when the switch is in an event that has multiple other elements (text, pictures, switches, commands, etc.). When I try and turn off the HUD at the start of a conversation, it fades out slightly, but stays there... taunting me. Here is an example of what I mean:
Pic1.jpg

Above, I have both of my HUD plugins. I start the event by speaking with an NPC and at the start of the event, I run the plugin command to fade MogHunter1's HUD and the switch to turn off SRD's HUD.

Pic2.jpg

When the text box appears, you can still see SRD's HUD behind the text box. What's frustrating is this even shows up with a fade to black.

Is anyone familiar with this HUD or know of another HUD plugin I can use to alleviate this issue? This is really frustrating because if I could just get the HUD to fade properly, this plugin is exactly what I need for my game. Any help would be greatly appreciated.
I have moved this thread from JS Plugin Releases to JavaScript/Plugin Support.
So which plugin is responsible for that bar and what does the code for that element look like?
See, after reading this I was thinking "I'm pretty sure that's not how that works normally :LZSskeptic:" so I went and tested this in my own game. And I'm right.
So what that means is that it's likely user error.

The thing is, is that it doesn't fade out - at least not for me. When the switch to enable the HUD is turned off, the hud disappears within a single frame.
However, in the plugin parameters, there is a parameter to control what to do with the hud during an event, how have you set that up? If you set it to transparent, then that is likely what is going on.
Show.png

The way I have it set is to always show the HUD and then just rely on the switch to disable it
(I have a common event that runs at the start and end of every cutscene that does a few things, such as hiding the HUD)

If not that, my other suspicion is the fact that you have 2 HUD plugins going could be an incompatibility between them. You can try moving their load order around, though that rarely alleviates problems - but worth a shot, right?

edit:
also, if it's actually trying to fade out but gets interrupted by the message box, you can try applying a short wait after you turn the switch off to give the HUD time to fade out.
See, after reading this I was thinking "I'm pretty sure that's not how that works normally :LZSskeptic:" so I went and tested this in my own game. And I'm right.
So what that means is that it's likely user error.

The thing is, is that it doesn't fade out - at least not for me. When the switch to enable the HUD is turned off, the hud disappears within a single frame.
However, in the plugin parameters, there is a parameter to control what to do with the hud during an event, how have you set that up? If you set it to transparent, then that is likely what is going on.
View attachment 272407
The way I have it set is to always show the HUD and then just rely on the switch to disable it
(I have a common event that runs at the start and end of every cutscene that does a few things, such as hiding the HUD)

If not that, my other suspicion is the fact that you have 2 HUD plugins going could be an incompatibility between them. You can try moving their load order around, though that rarely alleviates problems - but worth a shot, right?

edit:
also, if it's actually trying to fade out but gets interrupted by the message box, you can try applying a short wait after you turn the switch off to give the HUD time to fade out.
You are a lifesaver. I had the parameters set to "Transparent", so it dimmed when I turned it off instead. I set the parameter to "show" and when the switch triggered, it went away. Thank you soooo much! You saved me a major headache!

Original thread: https://forums.rpgmakerweb.com/threads/srd-hud-maker-how-do-you-hide-hud-during-event.160075/