It's hard to explain the question that I have so instead I am going to explain what happens in the game then try to ask my question from there.
So in my game, you're in an abandoned psychiatric hospital. In the main room (pretty much the whole first floor) there's a song that plays (Autoplay BGM), but before that, there's a song that plays when you have your whole party with you (pretty much the intro for the game). As you enter the next room, the music changes, the music changes again when you enter the room after that and so on. Then when you complete a task, the first floor music plays again. There's also a song that plays when you get chased by the enemy. Through out the game you solve puzzles then the enemy appears with the chase music. There's two floors that has two different BGM.
Now how do have the game remember to continue playing a BGM from an event then when that event is over, play back the BGM from Autoplay?
Hopefully I worded that okay, if not let me know 🙂
So in my game, you're in an abandoned psychiatric hospital. In the main room (pretty much the whole first floor) there's a song that plays (Autoplay BGM), but before that, there's a song that plays when you have your whole party with you (pretty much the intro for the game). As you enter the next room, the music changes, the music changes again when you enter the room after that and so on. Then when you complete a task, the first floor music plays again. There's also a song that plays when you get chased by the enemy. Through out the game you solve puzzles then the enemy appears with the chase music. There's two floors that has two different BGM.
Now how do have the game remember to continue playing a BGM from an event then when that event is over, play back the BGM from Autoplay?
Hopefully I worded that okay, if not let me know 🙂