about the ejection - here's a really good & easy one:
; ==============================================================
; BAIL SCRIPT, the "one-by-one" classic for Operation Flashpoint (OFP)
; ==============================================================
; INSTRUCTIONS: Replace "player" with grpLeader's actual unitName
; (or leave 'player' as is, if player is grpLeader). Replace "Air1" with actual
; name of aircraft or helicopter from which the group is supposed to bail.
_units = units Player
_null = 0
_count = count _units
#Bail
(_units select _null) action ["EJECT", Air1]
unassignvehicle (_units select _null)
_null = _null + 1
~0.400
?_count >_null: goto "Bail"
exit
; =================================================