Status
Not open for further replies.

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,294
Reaction score
8,743
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,971
Reaction score
2,297
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,971
Reaction score
2,297
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 Posts

Latest Profile Posts

Remember when people had the ability to have meaningful conversations on platforms like twitter or facebook? Good times... Nowadays is absolute crap.
All aboard the Advent calendar train, riding Avery's coattails as an excuse to make more sprites. ;)
Advent2021-01.gif

Get 'em in my thread in General Resources.
I had a dream where it was Friday, and what happened in the dream was irrelevant, because I woke up and it's not Friday, so I'm sad.
edit: third time's the charm? some graphic text I whipped up that I like for the mid-game intertitle, now with all of the actual letters in the stupid damn words I was trying to spell :uswt2:
kcsmall.png

Forum statistics

Threads
117,097
Messages
1,104,548
Members
153,111
Latest member
Pazzow
Top