Well, it basically goes like this:
when event x is true
clear goals for this ship
add goal->this ship->ai-waypoints-once this ship's waypoint, 89 priority
One of those for all 4 ships, the 3 after the first one is chained, 1 second delay.
None of the ships are given any wing or individual orders, except for these events.
So, what basically happens is:
Event trigger the wing's launch from the capital ship. They just fly in rings for a little while, even when they get orders to move to their waypoint. When ship #1 gets the order to move to the waypoint(he's the last of the trigger-events), then suddenly all of them move with him.
Now, they're all friendly, so I've already checked that they do, in fact, get their orders. For some reason, however, they seem completely locked in formation with #1.
It should be noted that a couple of times I tested #1 went ahead to his waypoint and the others didn't follow. Instead(!) they took up formation around *me*.
Now, when they get the order to guard the capital ship a little while later, they seem to behave normally again.
With this in mind, I tried to set their initial orders to guard the capital ship, before triggering the waypoint events. Still no luck, however.