Need help with some kind of loop behaviour!

Hello guys, I really need your expertise on this one.
So I've been trying time and time again to get this to work, but there's always some kind of trouble in the way!

What I want to do:
-when Button pressed
-take random number from tableX row 1-10, colum 1.
-play sound after(see above) seconds
-immediately start over again until Button is pressed again.

So, I want it to loop the sound, but play it after random seconds every time.
I can't seem to get my head around this, so I would really appreciate your help!

Thanks in advance, Dennis.

Sign In or Register to comment.