Thanks for the feedback Willy
There are still a few problems I agree. The squad breaking up is a result of the way I have checked to see if the falling back squad has reached its position. I only check the leader, then assume the rest of the squad is also ready. In situations with enemy units close by that isn't always the case, so there are frequently stragglers. What I really need is some command to check that the leader has reached his position AND his squad is in formation. I may have a solution, but I'll need to do some more testing.
The other problem you experienced (too few people remaining) should only happen under two conditions :
- when the script is first initiated if there are insufficient group members to form an effective retreat.
- If the AI is wiped out, or all the other members of the players squad.
The first problem is due to poor setup of the script on the mission makers part - nothing I can do about that. The second isn't really a fault. The hint is just there to tell you that there is no point in trying to stage an ordered retreat - your covering fire is dead! If this message pops up elsewhere then there is an error. I'll have check to make sure.
Hopefully the next version will have spoken radio commands which should make following the retreat procedure a lot easier.
Thanks again.