Hi all!
I have a random container with a couple of long rumble sounds (7sec aprox) that sometimes (probability = 60%) are played after distant explosions. During the gameplay it's very possible to have those explosions played within 1 or 2 seconds only. So, if the long rumble sound was played together with the first explosion I would like to avoid this rumble to be played again if it didn't finish.
The instruction would be: If the rumble sound is playing then do not play it again, until it finishes.
Any ideas?
Thanks!