Alice Community  

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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Change object's (parameter) variable in a World Method.
Posts: n/a
Default Change object's (parameter) variable in a World Method. - 04-23-2010, 08:12 AM

I have 40 squares (tile) each with a "HidingObject" object variable I added in via the Properties Tab.

What I am trying to do via a World Method is assign other objects to it.


What I am trying to do is set

Tile.HiddenObject set value to Object
Bolded items are parameters.

However, it will not let me specify a parameter, to access its variable.

The only solution I see is to do an IF statement for every square I have. (40 if statements)

So in conclusion

I am trying to change a variable of a object, specified via a parameter of a world method.

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