Jump to content
Sign in to follow this  
TraxusIV

Strange behavior with helicopter land command

Recommended Posts

Ok, so I'm seeing behavior that doesn't make sense, and I'd like to know if it's normal or not:

Create a helipad, and a helicopter at some distance from it. Give the heli a move waypoint on the helipad, and in the on act section, put

doStop; heli1 land "LAND";

Then give the helicopter a second move waypoint a little good ways away, and in that waypoint's condition box, put

(blu1 in heli1) && (blu2 in heli1);

Now create two infantry and name them blu1 and blu2, make one of them the player and the other one playable.

The odd behavior is that as soon as either blu1 or blu2 get on the heli, it takes off for the next waypoint, and doesn't wait for both to get on board. Is this normal?

Thanks,

Trax

---------- Post added at 08:22 ---------- Previous post was at 07:29 ----------

Also, if the final waypoint is in close proximity to the helipad, the helicopter will not take off until both men are loaded. However, if the waypoint on the helipad is set as a LOAD type, the heli will take off as soon as one player has boarded.

Share this post


Link to post
Share on other sites

So you want AI chopper to pick a team up on a spot and get them transported to a LZ where he then drops off the team and returns home?

With WP use load and sync(F5) the teamleader with the "load" WP this way the chopper wait till team is in to take it to his next WP,and to let them disembark use a "transport unload"WP on or near a H will let him land on the H and drop the team, then he will go to his next WP.

Many can be done with the WP's without anything needing to script.

Second solution is the support module(F7), where you place a team on the map,and place also the chopper, but away from the team and NOT in the team group, then go to modules(F7) and place a "support request"(bottom one) and "support; transportchopper"on the map(request module close to team, other one close to chopper)then sync(F5)the module request with the TL and the transport one with the chopper. then only Sync the request module with the transportmodule and your done!

This way you can as teamleader request a pickup anywhere on the map with no problems,and once your done with it,it will fly back home.

hope it make some sence,let us know how it go's.

Share this post


Link to post
Share on other sites

Set your action as Load then set your move waypoint right on top of your unload waypoint and change your condition field to

((!alive blu1) OR (blu1 in heli1)) AND ((!alive blu2) OR (blu2 in heli1))

Also not sure if it has an effect or not you might try

dostop heli1; heli1 land "Land";

Edited by Camaris

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  

×