PDA

View Full Version : Figure 8


compstuft
09-30-2008, 01:14 AM
Hi Alice community,

I have just started Alice at school, and for our first assignment, we have to get these crates to drop onto a carrier IF AND ONLY IF the blimp is above a carrier (there are 3). Well, I got the crate to drop with: If blimp is above carrier(x)..., but now, the crate just drops every few seconds even if it isn't above carrier(x). I think I need to set it so that the crate only drops when the blimp is DIRECTLY above a carrier. Can someone please help me with that? Thanks

rich0e0rick
09-30-2008, 09:35 AM
try this, make it so that the crate only drop if the blimp is not to the right of the carrier, not to the left, not to the front or the back.... this makes it almost have to be in the center no?, and then make the above function.... but all this in one if statement (you'll have to use lots of OR's)

:D:D rick :D:D

compstuft
10-01-2008, 02:24 AM
Thank you so much. I tried this and my crates are still dropping at random times. I must be doing something wrong. I will go back and double check. Thanks again