I am working on a script that is basically a AI driven MH6 "taxi" back to the front for respawned units.
I have everything working pretty good except I neeed a way to determine exactly which and how many units are riding in cargo as passengers in the heli, irrelevant of their group.
It's an .sqf and I have a trigger that detects the respawned guys and joins them into the heli pilots group. The trouble is, after the script starts, others may respawn and jump on the heli, and the script won't know they are in the heli to disembark them and then they join the main group.
Any help would be greatly appreciated.