vulcrin 10 Posted December 28, 2015 So, the mission is to assault an enemy depot and steal vehicles for fuel and such. I like guerrilla warfare. lol! Not sure how to end the mission, once vehicles are captured and moved, either out of an area or to a destination. It wont be necessary to kill all enemies, if they can be pinned down by fire long enough to escape, so ending it by normal means wont do. Is there a way to end a mission once a vehicle is not in an area or reaches a trigger? I suppose if I designated a certain area where friendly forces could go, I could end it, but if I make it too close, friendlies might cross into that area by accident and I don't want to make it a long drive, either, through an abandoned city and all. So I guess I am wondering if there is a way to end a mission once specifically named vehicles are not present in the assault area? Thanks! Share this post Link to post Share on other sites
ArmaMan360 94 Posted December 28, 2015 Name your truck "t1" and make a destination marker "m1" in the editor however close or far from the truck's location as you like. Then make an init.sqf in your mission folder and write this in it: if (t1 distance m1 < 5) then { endMission "END1";}; To test this, drive your t1 truck to the marker spot and when it reaches within 5 mtrs the mission should end. Maybe this will work. Turn on script errors from launcher, run this and share screenshot if any error pops up when you start preview :) Share this post Link to post Share on other sites