anfo 118 Posted August 20, 2016 Hi Guys If this does a single vehicle with crew {deleteVehicle _x} forEach crew (vehicle this) + [(vehicle this)]; What would be the most efficient code for despawning many vehicles? Thanks! Share this post Link to post Share on other sites
MKD3 27 Posted August 21, 2016 Not enough info here, do you want all vehicles on a side? in an area? Share this post Link to post Share on other sites
davidoss 552 Posted August 21, 2016 fnc_deleteVeh = { {{deleteVehicle _x} forEach crew _x + [vehicle _x]}forEach _this; }; [veh1,veh2,veh3,veh4,veh5,hunter1] call fnc_deleteVeh; or {{deleteVehicle _x} forEach crew _x + [vehicle _x]}forEach [veh1,veh2,veh3,veh4,veh5,hunter1]; Share this post Link to post Share on other sites