Making music keep playing on respawn
I've made a map where the player can die, but the only problem is that when they respawn, the music (which is activated by a math counter, which is added to by a trigger_once at the entrance) doesn't come on again. I'm using logic_autosaves.
Any help would be greatly appreciated.
This thread might help:
srs bsnss wrote:
I had a read through that one, but it seems to refer more to when you're using a logic_auto to start the music. Thanks for mentioning it though.
Well, you can also trigger your ambient_generic via a trigger_once or multiple, and include inside it the output to save the game right in the same moment than you trigger the music or just some milisecs after it in order to save the music's status.
Tbh I also have problems with this to work as I would like it to. Manyy times I am respawned and there's no music 
ChickenMobile wrote:
Ok so what I was more referring to was the fact that they start music at the same time it triggers the save. I did this in tc_vitrified and the music starts up after every time you die.
Oh, that makes sense. So the same output that calls the "Save" function also triggers the ambient_generic?
EDIT: Well I tried that and it worked, the music starts again whenever the map loads. The only problem is that the music restarts whenever I trigger the logic_autosave.
...I think I've missed something.
Well, that resolves that.