procedure to check if sound/music is still playing and stop play.

Status
Resolved
Issue description

I like you to add a function block that check if specific sound/music is still playing and eventually maybe procedure that make stop playing of specific music.

Actually there is some issues when come to handle with sounds/music.
For example when I wanted to recurrently play heart beat sound when player's hp is 4 or less, then this sound is play multiply times in same time and its make a chaos. This should play repetitively this sound next time when previous one ends.
Someone may to say that can be use "delays", but this may not be effective(nor comfortable) if repeated sounds are longer or for music.

This two procedure blocks may ensure better control for music and sound in various cases and events.

Issue comments

These events are client-side, but not all triggers are client-side so this would not work properly for all cases. We will consider adding this once we improve our client-side procedure triggering.

I would want too, because when I made block have a custom sound when walking in it, then its just sounds so bad.

And the block haves that when player starts destroying it, it has that sound, but too sand-breaking sound because it can't be stopped.