I tried searching and looked at the manual and couldn't find anything so I'll go ahead and post. Basically I want to play one of 3 sound effects every second. It needs to be randomly selected. How do I do this?
Develop games in your browser. Powerful, performant & highly capable.
Use the 'Play (by name)' action in the Audio object and use an expression like this:
choose("sound1", "sound2", "sound3")
choose() picks one of the parameters at random, so it will pick a random sound to play.
You might also want to check the How do I FAQ
In the section "Audio" :
lay a random sound - LINK
Which should contain some other examples capx.
Thank you! Sorry I must have missed that!