Please or Register to create posts and topics.

Making music keep playing on respawn

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.

ImageImage

This thread might help:
post63896.html?hilit=music%20dies

?????????????????????????????TWP Releases | My Workshop

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.

ImageImage

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.

?????????????????????????????TWP Releases | My Workshop
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 :(

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
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.

ImageImage

I've just realised I've made a fairly substantial oversight. Logic_auto has a "OnLoadGame" output available. :notwant:

Well, that resolves that.

ImageImage