The Dink Network

Reply to Re: kill sound

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 7th 2003, 08:27 PM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
<roots through old Dink source>

Well, I think there are two ways of getting rid of this I believe the first way is to make a variable for the playsound command:

&holybejebus = playsound(56, 22050, 0, 0, 1);

Then kill it using "sound_set_kill(&holybejebus)". I'm pretty sure this method works.

However, my favorite method is to simply use "kill_all_sounds()". It really does ends all wavs that are currently playing (don't know about midis). I'm 100% sure this works and you don't need to use up a variable.