hey sorry just checking
// board.sqf, execute with execVM.[[grp1,grp2,grp3],[plane1,plane2,plane3]]execVM"board.sqf";
_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
{
_unit = units _grp select _j;
_unit assignAsCargo _veh;
[_unit] orderGetIn true;
Sleep 1;
waitUntil {(_unit in _veh) || (!alive _unit) || (!canMove _veh) || ((_veh emptyPositions "cargo") == 0)};
};
};
}: