Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Suggestion Box (http://www.alice.org/community/forumdisplay.php?f=26)
-   -   Variables for Variables. (http://www.alice.org/community/showthread.php?t=3624)

zarfang8 12-14-2009 04:23 PM

Variables for Variables.
 
I'd like to actually be able to make a variable for a variable. like, <WhichVariable> become true, which you could set as a parameter, and use for a method, like being able to push a box, but only once. you use a boolean variable for every box, and then have a method WorldPushBox with parameters set as which box and what variable. you would push that specific box and the boolean variable would change to, pushed=true. then when you push it, it will asked if has been pushed with a boolean variable. make any sence?

x2495iiii 12-14-2009 11:31 PM

1 Attachment(s)
Sort of. You can't really do that with variables you create, but there are many built in variables, especially the seldom used properties, which allow this. I think this is the effect you wanted:


All times are GMT -5. The time now is 09:45 AM.

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