Jump to content
lovromirnik

StopSound?

Recommended Posts

Hey,

 

I can use PlaySound to play any .wav file, however I noticed that even after the script is terminated, if the sound has a remaining duration it will continue to play, until it either reaches the end of the sound file or SCAR is closed...

 

Any ways to make a sound stop when terminating a script?

Link to comment
Share on other sites

Hey,

 

I can use PlaySound to play any .wav file, however I noticed that even after the script is terminated, if the sound has a remaining duration it will continue to play, until it either reaches the end of the sound file or SCAR is closed...

 

Any ways to make a sound stop when terminating a script?

 

Have you tried playing another sound that has basically no duration in hopes that it would cancel the previous one? If said strategy works you could simply use that as a StopSound" function and add it to your ScriptTerminate procedure effectively accomplishing your goal.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...