Hi all,
I'm using VS Battle Core FYI.
Is there a means of delaying the BGM kicking in at the start of a battle? The reason I ask is that I have a custom encounter sound that overlaps with the BGM starting.
I saw a similar thread but it wasn't for MZ. Can anyone assist? I've tried injecting a setTimeout() in rmmz_scenes.js:
This didn't do anything unfortunately (and truth be told, I'd rather do this with a simple script call or plugin somewhere).
Any advice?
Thanks for reading 🙂
Mike
I'm using VS Battle Core FYI.
Is there a means of delaying the BGM kicking in at the start of a battle? The reason I ask is that I have a custom encounter sound that overlaps with the BGM starting.
I saw a similar thread but it wasn't for MZ. Can anyone assist? I've tried injecting a setTimeout() in rmmz_scenes.js:
JavaScript:
Scene_Battle.prototype.start
= function() {
Scene_Message.prototype.start.call(this);
setTimeout(() => BattleManager.playBattleBgm(), 4000);
BattleManager.startBattle();
this._statusWindow.refresh();
this.startFadeIn(this.fadeSpeed(), false);
};
This didn't do anything unfortunately (and truth be told, I'd rather do this with a simple script call or plugin somewhere).
Any advice?
Thanks for reading 🙂
Mike