RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Question regarding music

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 82
Probably a very simple question, but what I want to do is to make the BGM in a dungeon play from where it left off after encountering a battle. I don't think this is even remotely possible to do using events, so can someone clue me in on how to use scripts to achieve this? Thanks.

*
Rep:
Level 87
Memorize BGM before the battle, Restore BGM after the battle
Always remember you're unique.
Just like everybody else.

**
Rep:
Level 82
Sorry, I'm kinda of a newbie to using scripts...how exactly do I create the condition to let the game know to restore BGM "after battle"?

*
Rep:
Level 87
oh wait - you're using the random battle encounter, are you?  Battles every X steps?


If you had monster events on screen, moving around, and when you touch one it launches a battle, you could simply add a Memorize BGM command before the Battle Processing command, and a Restore BGM command after it.

If you're using random battles, have a search around on the forum, because I KNOW this question has been asked many times before.  I just tried to make a few script mods to do this, and it didn't work as I expected.  I don't have enough time to explore further right now, but maybe someone else has already provided the answer in another thread :)
Always remember you're unique.
Just like everybody else.