JohnBravo 10 Posted May 27, 2013 Hi I have found out how to remove dead bodies no problem with that so i just wonder what about vehicles I played my maps lots of dead bodies have removed not vehicles I need script for removed vehicles thanks Share this post Link to post Share on other sites
tonic-_- 53 Posted May 27, 2013 Here is something that I use. while {true} do { sleep (5 * 60); //sleep for 5 minutes { if(!alive _x) then { deleteVehicle _x; }; } foreach allMissionObjects "LandVehicle"; { if(!alive _x) then { deleteVehicle _x; }; } foreach allMissionObjects "Air"; }; It will only remove dead vehicles and not heavily damaged vehicles though. Share this post Link to post Share on other sites
Gunter Severloh 4062 Posted May 27, 2013 (edited) Delete Dead bodies and destroyed vehicles script http://forums.bistudio.com/showthread.php?124600-delete-dead-vehicles&p=2016996#post2016996 or CLY Remove Dead script http://forums.bistudio.com/showthread.php?113434-CLY-Remove-Dead-script Edited May 27, 2013 by Gnter Severloh Share this post Link to post Share on other sites
Przemek_kondor 13 Posted May 27, 2013 Isn't this available in A3 http://community.bistudio.com/wiki/Garbage_Collector ? Share this post Link to post Share on other sites
lordprimate 159 Posted May 27, 2013 Delete Dead bodies and destroyed vehicles scripthttp://forums.bistudio.com/showthrea...96#post2016996 or CLY Remove Dead script http://forums.bistudio.com/showthrea...ve-Dead-script 404 error links do not work Gunter. Share this post Link to post Share on other sites
Gunter Severloh 4062 Posted May 27, 2013 Dammit :j: here they are again: Delete Dead bodies and destroyed vehicles script http://forums.bistudio.com/showthread.php?124600-delete-dead-vehicles&p=2016996#post2016996 CLY Remove Dead script http://forums.bistudio.com/showthread.php?113434-CLY-Remove-Dead-script Share this post Link to post Share on other sites