Balschoiw 0 Posted February 21, 2006 I want to reduce engine load for a MP mission and therefore decided to delete all objects and units I customly placed at a spot. I set up a trigger covering the region had it activated by anyone and ran my little delete script with this command "deletevehicle _x" foreach list eraser The problem is that only units are removed but not objects that I have placed on the map. Is there an easy way to remove them aswell or do I have to list them one by one in the script ? Share this post Link to post Share on other sites
karantan 0 Posted February 21, 2006 For deleteting the units put in 'On Activation' field of your trigger <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> "deleteVehicle _x" forEach thisList You're correct about the objects by naming-listing one by one (deleteVehicle unitname), I'm not awared of any other 'easier' way, and you can put those commands in 'On Activation' field of that trigger aswell, you don't need a script for it. Share this post Link to post Share on other sites