_Egrp = _this select 0
_Object = _this select 1

_GrpVektor = Units _Egrp
_numEl = count _GrpVektor
_i = 0

#Update
(_GrpVektor select _i) action["EJECT",_Object]; UnassignVehicle (_GrpVektor select _i)
~1
_i = _i + 1
? (_i < _numEl) : goto "Update"
exit