Making music keep playing on respawn
Quote from srs bsnss on January 10, 2013, 3:29 amSo, does anybody know how to do this?
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.
So, does anybody know how to do this?
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.

Quote from ChickenMobile on January 10, 2013, 5:32 amThis thread might help:
post63896.html?hilit=music%20dies
This thread might help:
post63896.html?hilit=music%20dies
Quote from srs bsnss on January 11, 2013, 12:50 amI 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.
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.

Quote from ChickenMobile on January 11, 2013, 6:07 amOk 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.
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.

Quote from josepezdj on January 11, 2013, 7:12 amsrs 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
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
Quote from srs bsnss on January 11, 2013, 7:18 amChickenMobile 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.
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.
Quote from srs bsnss on January 22, 2013, 9:53 amI've just realised I've made a fairly substantial oversight. Logic_auto has a "OnLoadGame" output available.
![]()
Well, that resolves that.
I've just realised I've made a fairly substantial oversight. Logic_auto has a "OnLoadGame" output available.
Well, that resolves that.