I'm using a plugin that allows to setup title screen on map, and at the same time I'm turning on music via the map events, which causes it to cancel itself if player opens and closes the Options menu. This is really annoying, and I'd like to know if there's any way to fix this. Thanks.
MZ Options on Title Screen cancel out BGS/BGM when leaving
Javascript/Plugin SupportREAD!!! RPG Maker MZ Support Template
This template will give an idea of what basic support information can help others quickly answer a request. The more information you provide in the original post, the sooner it can get solved. A Topical and Meaningful Thread Title Titles such as “help me” and “it’s broken” are not...
forums.rpgmakerweb.com
P.S. Here's the additional context. The main common event from the Title Screen triggers "Play BGS" command. It goes well, but if you decide to open and close the Options Menu it's just ended instantly, which is jarring.
Are you talking about VS plugin? I don't think it should stop/change unless the map autoplays or events that run again try to change it when it reloads when you return from the options scene.
Anyway, would probably be annoying trying to edit that plugin. If you're using it, try making a plugin file and add at the beginning of AudioManager.playBgm and AudioManager.playBgs (or alias them):
Then in the event that puts you into options menu set
When you come back set
EDIT: Or you have to set it to false in your autorun event, as it gets reloaded when you return from the options scene.
EDIT2: Or depending how it's set up, you might not want to turn it to false at all.
Anyway, would probably be annoying trying to edit that plugin. If you're using it, try making a plugin file and add at the beginning of AudioManager.playBgm and AudioManager.playBgs (or alias them):
if (SceneManager._scene instanceof Scene_EventedTitleMap && AudioManager._doNotPlay) {return}Then in the event that puts you into options menu set
AudioManager._doNotPlay = true;When you come back set
AudioManager._doNotPlay = false;EDIT: Or you have to set it to false in your autorun event, as it gets reloaded when you return from the options scene.
EDIT2: Or depending how it's set up, you might not want to turn it to false at all.
Original thread: https://forums.rpgmakerweb.com/threads/options-on-title-screen-cancel-out-bgs-bgm-when-leaving.180809/