When assigning a waypoint to multiple groups and ordering multiple units of the player’s group to move at the same time, some groups may ignore their waypoint. Some of the east groups make it to the waypoint, but others just stay at the spawn positions. I have seen the problem for all four types of groups mentioned below. I have looked at the spawn positions and checked that they are alive, undamaged and not stuck on a physical object. The groups that do not move either have their currentCommand, currentWaypoint and expectedDestination as:
MOVE, 1, [[22991.2,18710.8,0],"LEADER PLANNED",false]
or: ", 2, [[22991.2,18710.8,0],"DoNotPlan",false].
For the 2nd scenario the currentWaypoint is marking “done with the waypoints” even though they have not moved at all and the waypoint was set 2 km away.
(Single player mission).
{F24594}
Description
Details
- Legacy ID
- 4290736027
- Severity
- None
- Resolution
- Open
- Reproducibility
- Sometimes
- Category
- AI Pathfinding / Motion
From a script, spawn the standard Armored, Mechanized, Motorized_MTP and Infantry east groups at different positions on roads in flat areas about 2 km away from the nearest enemy. Execute “moveInCargo” for each non-crew unit of the mechanized/motorized groups, so the problem should not be waiting for them to load. Add the same waypoint position (move, safe, yellow) for all groups. I am creating the groups with one minute between them, but I have also seen the problem with a five minute interval. I am also spawning 10+ manned vehicles and joining them to the player’s group. When the mission starts I manually send the vehicles of the player’s group to individual positions which they reach without problems. Moving these vehicles makes it more likely that the east groups fail to move. (I have also seen all east groups successfully reach the waypoint if I do not move the vehicles of the player’s group). The east groups are spawned at the north, west and south markers. The waypoint is at the east marker.
Remember to manually order each the vehicles of the player's group to move to an individual position.
See attached mission file.