You need a chopper flying, not in the player's group. The unit's should not have sync'ed waypoints with the helo for getting out, as I have found they mess the script up. Just place that line of code in the chopper's waypoint, a trigger's activation field, etc.