Na, the infinite loops freeze the whole program. I did have one unit "lock up" on me, but I can't figure out why. As soon as I re-selected it, it responded again.
There isn't any kind of "chase combat target" code in, so what should happen is that they move to where you tell them to go and take pot shots at their target from there.
In other news: I have two resource collectors up and running (can't buy them yet, I just force-spawned a second one). Only had one minor error (both of them told the asteroid to poof itself, and the second time it tried the rock threw a null reference error...its sprite was no longer on the stage and thus couldn't be removed!). I even accounted for the difference in resource size: metal and minerals are just kinda gobbled up by whoever gets them first (harvested in 10ths), but crystals are "reserved" in a sense (harvested in 1/200ths) so if two collectors hit the same rock at the same time, only one of them will harvest the 1 crystal.
Resource notes:
1) I put too many "rare minerals" into my rocks than you can use. 5000 metal gets eaten up fast...as fast as 100 minerals (the harvest ratio is about 5:2).
2) Crystals are freaking rare. I know I only want about 1-4 per rock, but because they're so rare, it takes a while to build up the military. Going to need some primer rocks near the player motherships that are almost pure crystal.
3) Capacity of the resource collectors needs to go up by at least 50%. Right now they can carry 250 iron, 250 minerals, or 12.5 crystals (or any combination thereof).