Zorg_DK 10 Posted March 17, 2013 Hi, I'm new to making missions, and I'm having lots of fun learning the editor in Arma3. I want to make some units disappear after they've completed their waypoints, how do I do that? Putting dismissed in the waypoint type doesn't seem to do anything. Cheers. Share this post Link to post Share on other sites
cuel 25 Posted March 17, 2013 In the on activation on the waypoint you can write {deleteVehicle _x} forEach thisList Share this post Link to post Share on other sites
Zorg_DK 10 Posted March 17, 2013 Thanks, I'll try that. ---------- Post added at 01:53 PM ---------- Previous post was at 01:52 PM ---------- It made the driver of a quad bike disappear, the quad bike is left with engine running. Can you make the quad bike disappear as well? Share this post Link to post Share on other sites
jukk 4 Posted March 19, 2013 Maybe try this (or something similar) instead: { if(vehicle _x != _x) then { deleteVehicle (vehicle _x); }; deleteVehicle _x; } forEach thisList; Share this post Link to post Share on other sites
tryteyker 28 Posted March 19, 2013 {deletevehicle _x} foreach crew quadbike + [quadbike]; If you want to delete the units mounted on a quadbike + the quadbike itself. "quadbike" is the name of the Quad. Share this post Link to post Share on other sites
Zorg_DK 10 Posted March 20, 2013 Thanks for the help all, much appreciated. Share this post Link to post Share on other sites
Springfield86 2 Posted May 1, 2021 am i a little bit too late for the party? i tried to insert some of the mentioned scripts in the init-section but guess i am doing something wrong Share this post Link to post Share on other sites
pierremgi 4738 Posted May 1, 2021 @Springfield86 Welcome on forum. init section of what? It's always better when people say exactly what they are scripting where / when / what for... SP or MP (almost never mentioned). Share this post Link to post Share on other sites
Springfield86 2 Posted May 1, 2021 3 minutes ago, pierremgi said: @Springfield86 Welcome on forum. init section of what? It's always better when people say exactly what they are scripting where / when / what for... SP or MP (almost never mentioned). Hello and thank you @pierremgi i found a helpfull video on youtube regarding this topic: Share this post Link to post Share on other sites
pierremgi 4738 Posted May 1, 2021 That works but it's a little bit outdated (2016) As guidelines says: Threads older than 4 months should not be dug up unless something significant is being added... let's add: deleteVehicleCrew command, far better in MP and some dead units in crew. Follow example 2 in deleteVehicle 😉 Share this post Link to post Share on other sites