Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Help with parameters (http://www.alice.org/community/showthread.php?t=4110)

veserine 03-22-2010 07:23 PM

Help with parameters
 
I need to make a program that has three objects. The objects have to jump when clicked on. I'm trying to combine the three objects into one parameter as well. Can anyone help me out? Thanks.

zonedabone 03-22-2010 07:55 PM

1 Attachment(s)
First of all, thanks for joining the community! To add a parameter, simply make your method, and click the add parameter button in the top right corner of the method section. Name it what you want, and make it an object. Now, whenever you want the parameter object to be used, simply drag the parameter into the object part of the method where you want it. Simple! Here's a little example.

rankhornjp 03-22-2010 09:14 PM

[QUOTE=zonedabone;18884]First of all, thanks for joining the community! To add a parameter, simply make your method, and click the add parameter button in the top right corner of the method section. Name it what you want, and make it an object. Now, whenever you want the parameter object to be used, simply drag the parameter into the object part of the method where you want it. Simple! Here's a little example.[/QUOTE]

Where did you get "object under the mouse" function?

zonedabone 03-23-2010 03:06 PM

When you drag the method into the mouse method, it asks for an object, right? Under the menu, go to expressions, and then click on object under mouse cursor.:)


All times are GMT -5. The time now is 08:46 PM.

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