Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Dog fight (http://www.alice.org/community/showthread.php?t=8390)

Homosapien23 04-21-2012 05: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 10:22 AM.

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