I'm currently composing some music for the Last Kingdom mod. I'm attempting to implement the music in a more advanced format than was originally used.
I'm attempting to make the music flow in a rather simple way.
The following code + annotation should make clear what I intend. The code used is in no ways correct or appropriate.


Code:
state MUSIC_BATTLE_TENSION
            event 
                folder data/sounds/music
                 Tension 1.mp3 - VOLUME = 100%
                  Mobilise 1.mp3 - VOLUME = 0%
                 Battle.mp3 - VOLUME = 0%
            end
            
        state MUSIC_BATTLE_MOBILIZE
            event 
                folder data/sounds/music
                  Tension 1.mp3 - VOLUME = 0%
                  Mobilise 1.mp3 - VOLUME = 100%
                  Battle.mp3 - VOLUME = 0%
            end
            
        state MUSIC_BATTLE_BATTLE
            event 
                folder data/sounds/music
                  Tension 1.mp3 - VOLUME = 0%
                  Mobilise 1.mp3 - VOLUME = 0%
                  Battle.mp3 - VOLUME = 100%
            end
All of the music starts at the beginning (having composed them in such a manner that this would fit). The volume then changes as the event state changes. I'm not sure if this is even possible, but it'd sound great if it works. Hopefully this is clear enough. Has anyone tried implementing this sort of thing, or have any idea how or if its possible?