12-01-2006, 03:42 PM
If I create a variable (world's details > create new variable) that is a list of objects, I can then make Alice perform an action on a randomly chosen object within that list.
For example, if I want a random object to turn left 1 revolution, drag an object into a method and select <object> turn left 1 revolution. Note that it doesn't matter which object is used -- it is merely a placeholder which you will then drag the variable onto. After dragging said variable onto the placeholder, select "random item from list" from the drop-down menu.
|