Save BGS?

Is it possible to save and replay bgs?
no, because background sounds are not supposed to be long enough for such things to matter.

but you can simply copy that audiofile into the music files and then take control of it.
Yes. In fact, the engine does this when you enter/leave battle.

Try this:
  • Save BGS - Control Variables -> Script:
    JavaScript:
    AudioManager.saveBgs()

  • Replay BGS from game variable 1 - Script:
    JavaScript:
    AudioManager.replayBgs($gameVariables.value(1));
    Replace 1 with the ID of the variable you stored it in earlier.
Yes. In fact, the engine does this when you enter/leave battle.

Try this:
  • Save BGS - Control Variables -> Script:
    JavaScript:
    AudioManager.saveBgs()

  • Replay BGS from game variable 1 - Script:
    JavaScript:
    AudioManager.replayBgs($gameVariables.value(1));
    Replace 1 with the ID of the variable you stored it in earlier.
Thank you so much!!!

It worked great in my game.
Great! Happy RPG Making~ 👋

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/save-bgs.141405/