Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
"Any item from list"
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default "Any item from list" - 01-18-2009, 08:12 PM

I'm trying to make a game, and to shorten the events from about 50 to 1, I need to know how do you get the list drop-down menu to say:

"any item from world.list"

instead of just:

first item from world.list
last item from world.list
random item from world.list
ith item from world.list

(I've just discovered the wonders of "For all together", and "For all in order" It will also help with shortening the events with probably the best collision detector made with Alice)

Last edited by Niteshifter; 01-18-2009 at 08:15 PM.
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 01-19-2009, 05:07 PM

Nevermind, I remembered that I can just use the for loop and mess around with if statements, and the index in the loop to get it done.

(I just need to evade a nasty "queen" error to get the collision working perfectly.)
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.