Status
Not open for further replies.

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,341
Reaction score
8,767
First Language
German
Primarily Uses
RMMV
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.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
2,984
Reaction score
2,304
First Language
EN
Primarily Uses
RMMZ
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.
 

Chacal_1

Villager
Member
Joined
Jun 7, 2021
Messages
14
Reaction score
4
First Language
Portugues
Primarily Uses
RMMZ
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.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
2,984
Reaction score
2,304
First Language
EN
Primarily Uses
RMMZ
Great! Happy RPG Making~ :kaohi:

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.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

My new 49" monitor has been dispatched from the warehouse. Will it arrive tomorrow? The day after? I love that we can track packages now, even if it does only tell me when it's left that end and when it's arrived at the local centre. As long as it doesn't end up in Melbourne again, which has happened before ...
My friend's doing a surprise stream of my game Origin Hunt on Twitch here ! Feel free to stop by :yhappy:
Me, designing it a long time ago: Having an optional boss fight as a random chance to trigger when you fish in a certain spot with a certain type of bait is fun! Cool idea!
Me, trying to playtest everything again: oh god just let me see the boss, my bag is so full of fish!
both love and pain have no boundaries

Forum statistics

Threads
117,229
Messages
1,105,688
Members
153,384
Latest member
mfilez
Top