Jump to content
Sign in to follow this  
Aebian

AI lower landing gear?

Recommended Posts

Hi,

i've made a mission with UnitCapture. Problem is that the ai need to be lower the landing gear & the flaps at a certain position and raise the gear + flaps after startup.

Planepath recorded via UnitCapture, also the landing and so on.

Any ideas?

Share this post


Link to post
Share on other sites

I'm having the same problem.

sometime using this code works and sometimes not.....

(driver _helo) action ["LandGear", _helo]; 

Share this post


Link to post
Share on other sites

These are just animations in the model, so you could try triggering them 'manually' with smth. like:

_plane animate ["right_gear", 0];
_plane animate ["left_gear", 0];
_plane animate ["front_gear", 0];

Note that the "names" of the animation might deffer based on the plane you´re using...

So make sure to also try "predni kolo", "levy kolo" and "pravy kolo", with/withOut underscores.

If thats not getting you somewhere, you can research these names in the config of the plane (but needs some diging and pbo unpacking bla bla...)

Find some more Infos http://forums.bistudio.com/showthread.php?93945-Gear-animation-(plane) there.

Oh, and on the "action" method, it must be executed where the vehicle is local, that might explain the "works sometimes"...

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  

×