Alice Community  

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

Reply
 
Thread Tools Display Modes
Varying the outcome of clickable objects
Old
Happyfist
Junior Member
 
Status: Offline
Posts: 2
Join Date: Apr 2015
Default Varying the outcome of clickable objects - 04-20-2015, 10:59 AM

In Alice 2.4, how do you make a click on the same object have different outcomes. For example, the first time you click on an object it does something like move or change color, but the second time you click the object just says no and refuses to do anything else. I want to have a set order to click on certain objects. Any help is appreciated. Thanks.
   
Reply With Quote
Old
fourbros
Senior Member
 
fourbros's Avatar
 
Status: Offline
Posts: 476
Join Date: Nov 2011
Location: Right Behind You...
Default 04-20-2015, 11:10 AM

You could use variables to determine what something does. I can tell you more if you're not doing this for school.


My avatar is from the anime "Hyouka".......

You've probably never seen it, much less heard of it.....

You should watch it........


print("Hello World")
This is python code.

Lakers > Clippers
Vikings > Packers
Cardinals > Brewers/Pirates/Cubs/Reds
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 04-20-2015, 11:25 AM

Standard practice on the forums for academic questions is to ask for the student's best effort, then to offer corrections as needed.

So post the .a2w file with everything you can do, and we'll work our way up from there.


(')>
   
Reply With Quote
Reply


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.