MZ Custom Menu help

I'm working on a custom menu layout for my project. But I'm not sure on how to hide the help window that's displayed when you extend scene_menubase.

1738274631161.png


I've tried searching for help or any plugins that disable it but nothing comes up.
Not sure if I understand...
But from what I understand here are a few options that might be what you need:

Scene_CustomMenu.prototype.createHelpWindow = function() {
// Do nothing to prevent help window from being created
};

Scene_CustomMenu.prototype.createHelpWindow = function() {
Scene_MenuBase.prototype.createHelpWindow.call(this);
this._helpWindow.visible = false; // Hides the help window
};

Scene_CustomMenu.prototype.createHelpWindow = function() {
Scene_MenuBase.prototype.createHelpWindow.call(this);
this.removeChild(this._helpWindow); // Removes the help window from the scene
};


not sure if this helps...
I'm working on a custom menu layout for my project. But I'm not sure on how to hide the help window that's displayed when you extend scene_menubase.

That's not the Help Window, aka Window_Help. It also does not originate from Scene_MenuBase's default code, as it is not native to MZ.

It looks like it could be one of VisuStella's windows. Did you thoroughly read through the documentation of any plugins you have installed? If not, you need to.

Regarding the previous post...

Code:
Scene_CustomMenu.prototype.createHelpWindow = function() {
// Do nothing to prevent help window from being created
};

This will lead to errors as other methods reliant on the help window eventually try to reference a nonexistent window.

Code:
Scene_CustomMenu.prototype.createHelpWindow = function() {
Scene_MenuBase.prototype.createHelpWindow.call(this);
this._helpWindow.visible = false; // Hides the help window
};

This would likely not reliably hide the help window because its visibility is usually managed elsewhere. If you did want to temporarily hide the window, it's usually better practice to callthis._helpWindow.hide() rather than directly modifying the window's visibility property.

Code:
Scene_CustomMenu.prototype.createHelpWindow = function() {
Scene_MenuBase.prototype.createHelpWindow.call(this);
this.removeChild(this._helpWindow); // Removes the help window from the scene
};

Don't do this.

I assume this stuff was AI-generated based on the comments?
Well that's on me. I'm fairly new to scripting and had no idea that the thing I was trying to get rid of was tied to the visustella core engine.

Original thread: https://forums.rpgmakerweb.com/threads/custom-menu-help.175059/