Thread: need help
View Single Post
Old
gabe
Administrator
 
gabe's Avatar
 
Status: Offline
Posts: 461
Join Date: Jul 2005
Location: Pittsburgh, PA
Default 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.
   
Reply With Quote