Alice Community  

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

Thread Tools Display Modes
limiting selections
Junior Member
Status: Offline
Posts: 1
Join Date: Aug 2011
Default limiting selections - 08-29-2011, 04:08 PM

I am creating a simple game, but I want the characters to have to make a choice and only select 4 of the objects to carry to the next part of the game. How can I do this?
Reply With Quote
Super Moderator
x2495iiii's Avatar
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 08-29-2011, 09:56 PM

Make four object variables, then have each object clicked change the value of one of the object variable to the value of the object clicked.

That's one way. There are a couple of different methods you could use.
Reply With Quote

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 ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.