Ok mate, step by step.
Go into the editor or wherever you have "executed" this script from, in other words, where you put:
[[grp1,grp2,grp3],[plane1,plane2,plane3]]execVM"board.sqf";
and what were the parameters (were they grp1, grp2, grp3, or were they bravoGRP1 etc, what did you put in the brackets).
Second step.
_groups = _this select 0;
_vehicles = _this select 1;
for [{_i = 0},{_i < count _groups},{_i=_i + 1}] do
{
[_groups select _i, _vehicles select _i] spawn
{
_grp = _this select 0;
_veh = _this select 1;
_nunits = count units _grp;
for [{_j = 0},{_j < _nunits},{_j = _j + 1}] do
{
player globalchat format["_unit: %1 --- _grp: %2 --- _veh: %3 --- emptyPos _veh: %4",_unit,_grp,_veh,_veh emptyPositions "cargo"];
_unit = units _grp select _j;
_unit assignAsCargo _veh;
[_unit] orderGetIn true;
Sleep 1;
};
};
}:
Backup the original script (the one posted originally) and replace it with the one above. Play the mission and it
should come up with a bunch of text, when that comes up, thats this line of code:
player globalchat format["_unit: %1 --- _grp: %2 --- _veh: %3 --- emptyPos _veh: %4",_unit,_grp,_veh,_veh emptyPositions "cargo"];
This code make the player, speak over globalchat expressing the variables (values) of: _unit, _grp, _veh and how many emptyPositions in _veh 's cargo.
This data can help us come to a conclusion (if provided) as to what the problem may be...
Hope this helps mate.