That will be pretty simple, you'll need to use "integer" and "random", as in this example:
Code:
var randomSound = integer(random(2)); // two random sounds
if(randomSound == 0){ 
     // play first sound here 
}
if(randomSound == 1){
     // play second sound here
}

But, you have to understand, that the value, which is returned by "integer(random(2));", will be always smaller than "2"!
So if you'll try something like this:
Code:
if(randomSound == 2){
    // play something here
}

It won't work! Good luck!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung