I might just have to do that, but I'll try to fix it first. I have done some experimenting and think I am homing in on the problem. Key points are:
The guy starts as leader of a group - he is called Yuri by the way. The following are extracts from the script:
_civis = units group Yuri
.
.
.
{_x assignascargo (vehicle Alexi)} forEach _civis
_civis orderGetIn true
.
.
.
{unassignVehicle _x} forEach units group Yuri
{unassignVehicle _x} forEach units group Alexi
Yuri setPos getMarkerPos "Yuri"
.
.
.
{[_x] join grpNull} forEach (_civis - [Yuri])
{_x doMove getPos (object 88684)} forEach (_civis - [Yuri])
.
.
.
[Yuri] join Alexi
I suspect the problem is somewhere here:
{unassignVehicle _x} forEach units group Yuri
{unassignVehicle _x} forEach units group Alexi
Yuri setPos getMarkerPos "Yuri"
because even when Alexi has one of his guys in the vehicle he does not get out. All of Yuri's group do get out of the vehicle though and they head off for the location indicated. Perhaps I need some short time delay here. Something like:
{unassignVehicle _x} forEach (units group Yuri + units group Alexi)
~1
Yuri setPos getMarkerPos "Yuri"
I will try that once I have set up a simple mission that will let me test it without running through all the cuscene stuff each time.
EDIT:
Well what do you know!
The ~1 seems to fix the problem with 6, but the other guys in Alexi's group that are still in a vehicle don't get out. That is no problem, just a puzzle.
I will leave the thread open for a while to see if anyone has any relevant comments.
EDIT2:
I just repeated exactly the same thing with no change and the problem is back!! I may well have ot fall back on dmakatra's idea.