View Single Post
Senior Member
sfunk's Avatar
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 12-13-2015, 12:56 AM

Create a world variable. (Make it a number variable)

Create a world method appropriately named to what your task is.

Use a list function, have the number variable you created be assigned to a random number (use the min and max number to make a range of how many sound clips you are using)

then use if statements below that to find if the variable value == "randomly selected number" then "sound clip whatever" will play.

Use the else section of the if statements to further your conditions to test for the value of the variable.

There are multiple ways to have it loop while your world is running but one of the easiest is to put in a loop and place the method in a event "when the world begins"
Attached Images
File Type: jpg Example_1.jpg (19.1 KB, 7 views)

If you are stuck on a project, check out the tutorials I made here at this link:

There are lots of tutorials on it so far, including some youtube videos, check it out


Go to my youtube channel to check out my alice 2.2 tutorials I have there..
Reply With Quote