Alice Community  

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

Reply
 
Thread Tools Display Modes
Disabling an Object
Old
shodai
Member
 
Status: Offline
Posts: 27
Join Date: Nov 2010
Default Disabling an Object - 05-02-2012, 08:52 PM

I was just wondering if you can make it so that when you click on an object an action occurs (something as simple as saying something) and then you cannot click on that object again?
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 05-02-2012, 09:00 PM

Make a variable that sets itself to true when the "is clicked on" method plays, and put that variable in an if statement encompassing the method so if it has already run once the variable will be true, and therefore will not play again.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
shodai
Member
 
Status: Offline
Posts: 27
Join Date: Nov 2010
Default 05-02-2012, 09:05 PM

Wow. That was easy. Sorry for bothering people with an easy question. Is there a way to give thumbs up (or something like it) for positive posts?
   
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 05-02-2012, 09:17 PM

Unfortunately, no.


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