Tried that, doesn't work :/ do I need to return it from my script's function to zombiemode ?
No? Its set on level. Show script and how are you setting ambient sounds?
Title: Re: Mute Round sounds & Ambient music for some time
Post by: fusorf on September 03, 2016, 10:40:30 pm
there you go, sorry if it's messy ^^'
Title: Re: Mute Round sounds & Ambient music for some time
Post by: HitmanVere on September 03, 2016, 10:48:33 pm
Could you do instead of player waittill("song_done");, have wait for actual sound length? That should work at least, never used notify bit in playSound Edit: Also, move self delete(); under if-statement, so the triggers get deleted correctly, lol. Just something I noticed while looking at script
Title: Re: Mute Round sounds & Ambient music for some time
Post by: fusorf on September 03, 2016, 11:58:47 pm
Thank you for your help HitmanVere :)
I did your changes. What I got working was that the round sounds are sucessfully disabled while the song is played.
However, the background music (mx_wave_1 overwritten with custom csv) keeps playing, even between rounds as they are no more round sounds to stop it. don't know if it makes sense xD
Fact is, when I trigger the song between rounds, the ambient music stops playing correctly. It seems that I can't stop it while it's playing.
But prehaps I could turn down the volume or something ? I don't know...
Btw you had 666 respects, I saved you by adding one ^^
Title: Re: Mute Round sounds & Ambient music for some time
Post by: HitmanVere on September 04, 2016, 12:08:06 am
I did your changes. What I got working was that the round sounds are sucessfully disabled while the song is played.
However, the background music (mx_wave_1 overwritten with custom csv) keeps playing, even between rounds as they are no more round sounds to stop it. don't know if it makes sense xD
Fact is, when I trigger the song between rounds, the ambient music stops playing correctly. It seems that I can't stop it while it's playing.
But prehaps I could turn down the volume or something ? I don't know...
I think you can set something up in soundalias. Cant remember atm how, but there is a way to link them somehow