I have a chain command puzzle in my game, basically where you have to press a number of inputs before the time runs out. If the time runs out, you get a game over. I have it so it autosaves right before you enter the map to the puzzle. This means when you get a game over, it takes you back to this spot.
My issue is that the map you are returning to should have two sounds playing, one BGM and BGS (music and a rain sound effect). When pressing continue after a game-over and returning to this map, none of the music is playing. I can't choose to autoplay BGS and BGM in the map properties because the music is only triggered during an earlier autorun event on that map.
At first, I tried to turn on a switch during the game-over scene that would trigger the BGM and BGS when returning, but I quickly realized that because I'm loading into a previous save, the switch won't be kept on.
Is there any way to turn on a switch that is retained when loading into the latest save?
Not sure if this matters, but this is the script I use to return to the latest save file
My issue is that the map you are returning to should have two sounds playing, one BGM and BGS (music and a rain sound effect). When pressing continue after a game-over and returning to this map, none of the music is playing. I can't choose to autoplay BGS and BGM in the map properties because the music is only triggered during an earlier autorun event on that map.
At first, I tried to turn on a switch during the game-over scene that would trigger the BGM and BGS when returning, but I quickly realized that because I'm loading into a previous save, the switch won't be kept on.
Is there any way to turn on a switch that is retained when loading into the latest save?
Not sure if this matters, but this is the script I use to return to the latest save file