The Dink Network

Reply to Re: How to stop playsounds?

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:
 
 
December 13th 2008, 04:02 AM
spike.gif
Are you sure? I think that it should work. Remember that if you create the sound in one script and kill in another a local variable won't do, you need to use a global. Alternatively, creating a sprite on the screen, attaching the sound to that sprite and then killing the sprite when you want the sound to end might do it.

Another unholy technique to remove the sound would be to use sound_set_vol(&sound,some really low value here). I don't know how low it should be since I've never used the command for this purpose but you could start with something like -99999, pump up the volume and see if you can still hear something.