jamez_5 1 Posted November 12, 2014 Hey guys! Hope all is well. So at the start of my mission i have 3 jets that do a fly by. It worked at first then stopped. I feel as if I am having a brain fart. In the editor I have the jet. Then 1 way point. It goes from one side of the map to the other. I do not have it on cycle. Any ideas? I would like to have them disappear after the waypoint? or land? or blow up...I just don't want to see them again. However with this being said it would help me later down the road if someone can help me by telling me how to get them to do all 3. If you have the time. Thanks peeps Share this post Link to post Share on other sites
jshock 513 Posted November 12, 2014 Just create a group of 3 jets, set them all to flying, name the group leader jet1, give the leader the one waypoint, in that waypoint's onAct field put: { deleteVehicle _x; } forEach units (group jet1); Share this post Link to post Share on other sites
champ-1 40 Posted November 12, 2014 I guess you need to delete jets too. Also there is no need to name jets. { deleteVehicle (vehicle _x); deleteVehicle _x; } forEach units (group this); Share this post Link to post Share on other sites
jshock 513 Posted November 12, 2014 I guess you need to delete jets too. Also there is no need to name jets. { deleteVehicle (vehicle _x); deleteVehicle _x; } forEach units (group this); Yea wasn't too sure if "this" is passed with the waypoint or not (I do a lot of scripted waypoints, not so much editor based anymore :p). Share this post Link to post Share on other sites
iceman77 19 Posted November 12, 2014 Dis how I be doin it. Ya mean? Waypoint onact: {deleteVehicle _x;} forEach crew (vehicle this) + [vehicle this]; If you want the plane to land use landAt. Share this post Link to post Share on other sites
jamez_5 1 Posted November 13, 2014 Thanks guys! However the only code that worked here was Iceman77s. All I did was copy and paste the other codes into the waypoints on act. I also named it jet1 like I was told. Maybe I am doing something wrong? However at least I got one code tho. Share this post Link to post Share on other sites