I'm trying to make a mission where you have an allied fleet with you. I've worked out most of the kinks I've encountered, except for a couple:
1) Pathing. When you assign your allies to head to a point or target, they have the problem of fleet formations. With enemy fleets, this can be resolved by assigning each ship a different fleetNumber. However, this doesn't seem to work with allied ships. Is it because they are neutral? Is there a way around this?
2) Fleet combat. I can assign them targets, and I can assign the enemy ships to targets in my fleet. However, when the allied ships destroy their targets, they just head off into space. I can still direct them by COMMS, of course, but telling them to attack the nearest enemy doesn't work, they always say that there are no enemies nearby, regardless of how close they are to an enemy ship. Any ideas on how to fix this, other than a giant nested if statement for selecting secondary, tertiary, etc targets?