Is It Possible to Have a Special BGM for a Unique Troop?

Hello Internet! I have several troops or battle processes within the game and want different battle music playing within each battle. For example, violent and exciting battle music with some dark lord or light and playful music with some guardian angel. Is this possible or is there only one set battle song for all battles?
This plugin will do the trick.
This plugin will do the trick.
You're amazing! Thanks!
If these are not random encounters, then you don't need a plugin. You can use the Change Battle BGM command prior to initiating the battle, to change it to the "special" music, then again after the battle to change it back to the regular music. This command has to be used in a map event, not in a troop event, as the music is already playing before the troop events run.
If these are not random encounters, then you don't need a plugin. You can use the Change Battle BGM command prior to initiating the battle, to change it to the "special" music, then again after the battle to change it back to the regular music. This command has to be used in a map event, not in a troop event, as the music is already playing before the troop events run.
Thanks for the reply! I got the plugin above to work after a second time for going at it. It wasn't easy. I already completed and exported my game, although your response will be incredibly handy for next time.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-have-a-special-bgm-for-a-unique-troop.87561/