Alice Community

Alice Community (
-   How do I...? (
-   -   Dog fight (

Homosapien23 04-21-2012 06:00 PM

Dog fight
1 Attachment(s)
So, for my helicopter game, I'm making it so some helicopters head at you and try to shoot you down.
What I did was have some if/else code, and if you're less that 200 meters away, it does a certain flight pattern, otherwise it heads toward you. Only problem is, it keeps heading at you. Help please, and thank you in advance.
The method is under armycopter2.

All times are GMT -5. The time now is 12:59 PM.

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