Stop Sound
What it does
Stops audio playing from the item that owns this effect. You can stop one specific clip or stop every sound started by that item.
Setup
- Select the item that started the sound.
- Add Stop Sound to the task state or trigger that should end it.
- Enter the exact audio URL when only one clip should stop, or leave it empty to stop all sounds from that item.
- Set a fade-out duration if the stop should be gradual.
Settings
| Setting | What it means |
|---|---|
| Sound URL to Stop | Exact URL of the clip to stop. Leave it empty to stop all sounds played from this item. |
| Fade Out Duration | Time in seconds to reduce the volume before stopping. Use 0 for an immediate stop. |
Tiny example
A player exits a cave. The exit task runs Stop Sound with the cave wind URL and a two-second fade-out.
Test and troubleshoot
- The URL must match the sound URL exactly when you want to stop one clip.
- Leave the URL blank only when stopping every clip from the item is intended.
- Put Start and Stop effects on the same sound-owning item for the clearest behavior.
- Test repeated enters and exits to make sure no ambience remains after the player leaves.
