MZ BGM Music Changes in Battle

Using a plugin to use BGM for certain troops, its been working for a second then goes to the first on the list alphabetically. I do not have any Battle Music set as a default. Guessing another plugin interfering but cant see anything that would. Any idea you helpful Elves?
1708701391596.png
We'd need a link to the plugin and screenshots of how you have it set up.

It may not be a conflict with anything, the plugin just might not work. If it were a conflict, the Battle Core would be an obvious suspect - have you tested with that turned off?

I do see some weirdness there - you have Yanfly's Region Restrictions, which is an MV plugin that duplicates the functionality of VisuStella's Events & Movement Core.

That wouldn't be causing your current problem, but it's certainly incorrect for your project.
Cant load the plugins with one disabled, so did all VisuStella Mz mods and it is working now. Time to try and pin point the conflict.

Thank you for the obvious bug error check should of thought of that.
1708705816288.png
You linked to VisuStella, not the BGM plugin 😛

There's not too much to be done if it conflicts with VisuStella. You can try dragging it down in your plugin manager so it loads after all of them, but if that still doesn't work (or if it then breaks a VS feature), you're kind of up the creek.

VisuStella's plugins are obfuscated, so other plugin authors can't just look at it and make their code compatible.

You can always simply do this with troop events. Choose no battle BGM, then make a turn 0 troop event that plays whichever you want.
No matter what I do, it plays a single note then goes into first alphabetically. Even when its that song as the BGM. Autocommands, Map menu, Change BGM event, Play BGM, does this with TrackTroop on or off
*Sorry and Turn 0 as thats what I used to use.
Update: Ok fixed the one second changing music. Now just need to figure out what in VisuMZ interferes with the Turn 0 "Play BGM" (Turned Scripts off and back on and it fixed)
Turn 0 works with no plugs in on, got rid of the change music plug in, just VisuMZ and YEP_RegionRestrictions on now
1708707389967.png
Update: Works with every plugin except Battlecore (and Battle_AI as one needs the others). Trying to find a fix.
I still don't understand why you have a random MV plugin that conflicts with one of your MZ plugins in your project.

Do you have a common troop event or whatever they're called defined in the Battle Core parameters?
Used to it when making more complex battle systems, and in an 80 hour game with 140 hours of optional content want that diversity, VisuMZ is an MZ plugin set. YEP is an MV plug in but its not interfering in this. Why do you think its worth just disabling BattleAI and being more imagantive with the default scripts?
Solved:
Under Mechanic Settings has a default for all troops command:
Was set to Troop 1.
1708708765408.png
Used to it when making more complex battle systems...YEP is an MV plug in but its not interfering in this. Why do you think its worth just disabling BattleAI and being more imagantive with the default scripts?
What on Earth are you talking about?

You have Yanfly's Region Restrictions in your plugin manager.

That's not a battle system, it has nothing to do with BattleAI, and I never said anything about disabling BattleAI.

It does interfere with VisuStella's Events and Movement Core, because they do the exact same things (which means they are overwriting the same functions).

Good luck with your project.
Thanks my something new learnt today, apologies thought you were talking about BattleCore as that was what was interfering with the Turn O BGM Change. Never used that part of VisuMZ before, but got rid of the YAP one and will use that.

Original thread: https://forums.rpgmakerweb.com/threads/bgm-music-changes-in-battle.166089/