I need help I'm trying to make a script thats ejects a group from a truck.
The ejection part works fine but i can't unnasign the group from the vehicle.
They just climb back into the vehicle again.
The script
_grp = A_sqd
_vehicle = truck
_aunits = units _grp
_i = 0
_j = count _aunits
#Eject
(_aunits select _i) action ["EJECT",_vehicle]
UnassignVehicle (_anuits select _i)
_i=_i+1
~0.3
?_j>_i:goto "Eject"
exit