Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[For VX] Boss music starts before fight

Babab

Member

Hi, I've done some searching but all the results that came up were for XP. I want to make it so the boss music starts playing before the fight starts. Like I said, there were ways to do that, but they were for XP.

Any help?
 
I have a soultion! but it will take some steps...

OK, first off, if the music set for the battle is the same as the music already playing it shouldn't start the music over again. The problem is in one line of code, but that won't stop us!

Open your project, go into the script, and find the Scene_Map section, and go to line 203 "RPG::BGM.stop"

What do you think that does? Let's comment it out (add a # to the left, it'll turn green)

Now try it, make a new event, set the battle BGM to whatever you want, then play the BGM, wait 10-20 sec, add some dialouge, whatever. Then set to call the battle, the music should not reset.

Cool? have fun, ask me if you have problems, don't forget to set the battle bgm back to normal after the battle.

(This is the first code help I've been able to provide, yay!)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top