Jump to content
Sign in to follow this  
jamez_5

Jets wont stop flying

Recommended Posts

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

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

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
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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×