 The tank, unless ordered otherwise, will attack the closest enemy in range of its farthest weapon.If the tank is ordered to attack a specific enemy that is out of range of some weapons, the others will attack the closest enemy within range.Enemies will obey the same rules, except when attacking the Part-O-Matic.