Stopping sounds played with "playSound()"?
Stopping sounds played with "playSound()"?
Is there a way to stop a sound that is played using the "playSound()" function, I cant find anything about that in the documentation nor in the forum.
Re: Stopping sounds played with "playSound()"?
redefine the sound and turn loop =false?
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
- Message me to join in!
Re: Stopping sounds played with "playSound()"?
That do not stop the sound, it just stops it from repeating, but if i have a sound that is 4min+ long, but want to stop upon user interaction.
Re: Stopping sounds played with "playSound()"?
A stopSoundAt(sound, level, x, y) would be great. Even a stopSoundAt(x, y) that just stopped all sounds in x, y would be good.
I've tried several things and can't get sounds to stop.
I've tried several things and can't get sounds to stop.
Re: Stopping sounds played with "playSound()"?
or stopSound(soundname)
Re: Stopping sounds played with "playSound()"?
one possibility would be to break up that 4min sound into something like 10 second increments (24 of them) and have a timer set to 9.9 seconds which starts the next segment UNLESS something has happened, in which case the timer won't play the next part. It wouldn't be an exact end to the sound in the right moment, but at least it would end within a few seconds.
Finished Dungeons - complete mods to play
Re: Stopping sounds played with "playSound()"?
I have been thinking about doing it like that, just a lot of extra work
