Well I do know that as part of the function itself you can have it set a variable as true when the path is complete like this:
[
heli,
[PATH],
[
missionNameSpace,
"ready"
]
] spawn BIS_fnc_unitPlay;
You could then have a waitUntil loop waiting for the condition to become true and set everything up like this:
ready = false;
[
heli,
[PATH_1],
[
missionNameSpace,
"ready"
]
] spawn BIS_fnc_unitPlay;
waitUntil {ready};
//disembark code
[
heli,
[PATH_2],
[
missionNameSpace,
"ready"
]
] spawn BIS_fnc_unitPlay;