spawn gosthawk name it heli
enter any cargo seat of the heli, execute
hint str [heli getCargoIndex player, assignedVehicleRole player];
will be [0, []]
exit, execute
[] spawn {
player moveInCargo [heli, 3];
waitUntil {player in heli};
hint str [heli getCargoIndex player, assignedVehicleRole player];
};
will be [3, ["cargo"]]
all good, get out, execute
[] spawn {
player action ["getincargo", heli, 5];
waitUntil {player in heli};
hint str [heli getCargoIndex player, assignedVehicleRole player];
};
will be [5, []]