Reply to Re: kill sound
If you don't have an account, just leave the password field blank.
Does no one read the manual? It's not the best piece of documentation ever written (by a longshot) but does explain how to do this.
There are two ways.
What Striker said:
&holybejebus = playsound(56, 22050, 0, 0, 1);
sound_set_kill(&holybejebus);
(obviously &holybejebus would have to be global if these are not in the same script)
and
&holybejebus = playsound(56, 22050, 0, 0, 1);
sound_set_survive(&holybejebus, 1);
kill_all_sounds();
Because as dinkc.txt explains, kill_all_sounds really only kills all "survive" sounds.
There are two ways.
What Striker said:
&holybejebus = playsound(56, 22050, 0, 0, 1);
sound_set_kill(&holybejebus);
(obviously &holybejebus would have to be global if these are not in the same script)
and
&holybejebus = playsound(56, 22050, 0, 0, 1);
sound_set_survive(&holybejebus, 1);
kill_all_sounds();
Because as dinkc.txt explains, kill_all_sounds really only kills all "survive" sounds.