MZ Change BGM for each troop?

I have been looking around for sometime, but no luck. Any script that can help me with this?
Are you using random battles or are they all triggered by events?
Are you using random battles or are they all triggered by events?
Random battles. Encounters.
I have been looking around for sometime, but no luck. Any script that can help me with this?

You need to be more specific, if was a event all you have to is change the music thru event command even inside a troop if you want different music again, it thru event boxes which change battle bgm
What might work is to set the battle music to None in the engine, then in the troop event on page 1, set it to turn 0, and the command is play BGM and pick the music you want it to play. Set span to battle so it only triggers once too.

There could be a small delay though as it will trigger after battle loads a little.

Otherwise your only other option is to request a plug-in and that would require some set up for it to work.
Check his post on Dec 3, 2020.
Moved to: Plugin Requests
Check his post on Dec 3, 2020.
darn in March? :C
darn in March? :C

Or you can try to contact him. Perhaps he doesn't mind sending you the beta version. Worth a try. 😉

Original thread: https://forums.rpgmakerweb.com/threads/change-bgm-for-each-troop.131833/