Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Buoy's (http://www.alice.org/community/showthread.php?t=10285)

jhernandez25 09-19-2013 09:23 AM

Buoy's
 
1 Attachment(s)
Hopping someone could help me, am working on the Pick Up All Buoy program, I have got some if it done but am having problems having the boat pick the buoy its in front of, I am completely lost and not sure how to make it pick up the buoy creating a parameter, I can make a code for each individual buoy and that would work fine but to my understanding the book is asking to make one code with a parameter that will make the boat pick up any buoy that its in front of. Any Suggestions,

MrMoke 09-23-2013 11:17 AM

Maybe
 
1) Dump the While world running, replace with starts for sway and my first method.
2) make my first method infinite call to check
3) Trouble shoot from there.


All times are GMT -5. The time now is 02:19 AM.

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