Continuous BGM from one Battle scene to another

I'm trying to make the same BGM goes from one battle scene to another.


The problem is, in order to switch for some events and a new battle scene to occur, I'm forced to go to the scene map which stop or restart the Battle BGM if l put the same song in the events.


Is there any line l could disable in rpg scripts that would resolve this?
Step 1, make the area have no music what so ever. Check off the box.


Step 2, set both the background and battle music to the same thing via events.


Step 3, Murda.
I don't think you read through what l asked.
Does the area have a song playing normally?
Wait, the victory is the problem... hmmmmmmmmmmmmm... sorry about that.
There is nothing playing, l disabled everything using Yanfly Victory Aftermath.


I used fade BGM in the map before going in the battle.
you should try to use the save and replay command inside the battle - there is nothing else short of a specific script that has even a chance of doing what you want.


I don't know if those commands work with battle-BGM, but if they don't you'll need a script anyway.


Unfortunately the battlesequence may prevent you from saving the current position of the BGM at the end of the battle - by default, a battle ends before the final troop event can be prozessed, so in that case you'll have to trick the engine with an immortal-state-workaround.


However, if you're using a battleplugin with action sequences, you should be able to put the save command in there.


And then, at the beginning of the second battle, have a troop event use the replay BGM command.


@lianderson the OP wants to continue a longer BGM at the same second it was stopped in the previous battle, your method would simply restart the same BGM from the beginning again at the second battle.
@lianderson: Actually the problem is when you return to the map it will restart the music where it was before the battle began. which, even though they are the same musics, can still sound funny. This can only be fixed with a script.


@lolshtar: Since you asked about if you could disable a line in scripts to do this, I moved you to Learning RGSS support. If you decide you need a full script for this, please report the thread and ask for it to be moved to Script Requests.
I are wrong today. Listen to the smarter peoples. 🙁
Save and Replay works... with a 2 seconds music stop inbetween scenes.


I guess I'll need a script for this since there seem to be nothing else.
I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
I've moved this thread to Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

Ace Requests?


Really...?
I apologize, where should it be?
I apologize, where should it be?

Plugin Requests / Javascript Support


Thanks


http://forums.rpgmakerweb.com/index.php?/forum/136-js-plugin-requests/
Okay, well, when I moved it it was in "learning RGSS" not Javascript,  and you specifically requested moving it to script requests, not plugin requests. So I'll move it again for you.


Also, you don't need to quote someone to reply. You can just reply.
Quoting is the best way to make sure the quoted person get a warning.


Oh, I see. It was in MV threads when l posted it as a question.
If I understand your request properly you can set that up with events easy enough 😀


Pic of the event: 


Example.png


and a link to what it would look/sound like in game:


https://www.mediafire.com/?eleevacoehup36t



For some wierd reason, my Battle BGM event does not work at all, l always used normal BGM.


I see that the music was the same before the first encounter, would it work if the music change within the first encounter?
That does seem a bit odd, cause as long as you change the battle BGM to the same thing as the Map BGM (via event or otherwise) there shouldn't be any kind of problems.


Are you having the events happen in a cutscene style event with specific music for the background that is different than the music you are wanting for battle? Also pop a screenshot of the event so we can see  what else might be happening 😀

Gotta go to work, ill be screenshotting all the events as a edit when l get back


Before Battle Start, Fadeout BGM 


5071999eaa.png



Start BGM on turn 0 


a2609cc921.png



Change BGM when boss appear


cd23e01244.png



Fade Current BGM and play BGS when boss is defeated, start new song


29ff2cc285.png



Current method to keep playing the BGM is using the save BGM event and replay on the next battle, but there is a stop inbetween scenes


d4c5926c83.png

Original thread: https://forums.rpgmakerweb.com/threads/continuous-bgm-from-one-battle-scene-to-another.70126/