I'm not using Dash at all. I'd like to remove it from the options menu, how do I do that?
MZ Remove "Always Dash" from the Options menu
Javascript/Plugin SupportCopy the following into a text file and name it with a .js extension, then put it in your plugins folder.
Note - this overwrites a method, as it can't be aliased, so if you see issues with other things in the Options menu not working properly, maybe move this one to the top of your plugin list.
Note - this overwrites a method, as it can't be aliased, so if you see issues with other things in the Options menu not working properly, maybe move this one to the top of your plugin list.
Code:
Window_Options.prototype.addGeneralOptions = function() {
// this.addCommand(TextManager.alwaysDash, "alwaysDash");
this.addCommand(TextManager.commandRemember, "commandRemember");
this.addCommand(TextManager.touchUI, "touchUI");
};
In case you're interested, I have a plugin that does this by aliasing the window's
That said, I don't think the difference in approaches matters much here...if you only want this particular feature I'd recommend going with Shaz's suggestion~
addCommand method instead. It's Cae_MenuDisplayOpts: you can find the "Hide Options" parameter and add alwaysDash to the list (case-sensitive). 🙂That said, I don't think the difference in approaches matters much here...if you only want this particular feature I'd recommend going with Shaz's suggestion~
Makes sense, you could alias the addCommand function and just return if you receive the 'alwaysDash' command, then just call super for other commands.
@Shaz
Sorry for my somewhat delayed answer (got quite heavily "side" tracked) but thank you, worked like a charm. 🙂
Sorry for my somewhat delayed answer (got quite heavily "side" tracked) but thank you, worked like a charm. 🙂
Original thread: https://forums.rpgmakerweb.com/threads/remove-always-dash-from-the-options-menu.127865/