charles1311
it looks like the tanks were getting overwhelmed with commands, and might have been using the wrong tank coordinates in some places...
the left and right directions were getting cancelled by the up/down ones.
I changed it slightly to do all the checking under one "For each tank" event, and made it always choose to go towards the coordinate (X or Y) that it was furthest from the target location. (I also made the target location visible so I could see what it was doing).
www.rieperts.com/games/forum/tanks.capx
EDIT: if your game will have any obstacles on the battle field, then path finding would be a very good idea - like plinkie said...