#```sqf
1 messages · Page 1 of 1 (latest)
I can not get this to work btw
I gave a vehicle a name, made it public and ran this script on the server.
It was finding the right vehicle, but it won't eject corpses
Try doing this and see if it works:
private _vehicle = vehicle player;
{
if(!alive _x) then {
unassignVehicle _x;
_x action ["Eject", _vehicle];
moveOut _x;
};
}foreach crew _vehicle;
Mate you're a legend, my players will love you. It actually worked
you shouldn't even have to use action, moveOut should be fine.
Yup, should be enough ^^
unassignVehicle _x;
moveOut _x;
I have read on ace github that sometimes action eject or moveout dont work so its good to have them togheter just in case.