kian che 0 Posted March 21, 2020 Hi there The AI isnt flying in a dead straight line after I give it a waypoint. It seems to go up and then nosedive and then pitch up again, all throughout its flightplan. Its almost like its following the contour of the land directly beneath it, despite thee aircraft being 750 meters above ground Is there a script to prevent this, or how can I fix this? Share this post Link to post Share on other sites
Harzach 2517 Posted March 21, 2020 https://community.bistudio.com/wiki/flyInHeightASL Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 27 minutes ago, Harzach said: https://community.bistudio.com/wiki/flyInHeightASL Thanks! Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 3 hours ago, Harzach said: https://community.bistudio.com/wiki/flyInHeightASL This actually does nothing. The aircraft still flies below the specified ASL Altitude (750m) idk if im using the script incorrectly, but it definitely isnt working. Share this post Link to post Share on other sites
RCA3 593 Posted March 21, 2020 (edited) Hi, AI (helicopters?) can´t fly in straight line above 500 meters. Known issue. Edited June 1, 2020 by RCA3 Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 3 minutes ago, RCA3 said: Hi, AI can´t fly in straight line above 500 meters. Known issue. Ah right, ok. I'll try it again. Share this post Link to post Share on other sites
Harzach 2517 Posted March 21, 2020 Yeah, sorry. This command has been through the broken/fixed/broken cycle a few times. Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 2 minutes ago, Harzach said: Yeah, sorry. This command has been through the broken/fixed/broken cycle a few times. ah thats not a problem at all! The error still persists tho. Im trying to do some aerial refueling but the tanker aircraft keeps pitching up and pitching down unexpectedly, making it hard to properly line up. 1 Share this post Link to post Share on other sites
RCA3 593 Posted March 21, 2020 (edited) 1 hour ago, kian che said: The error still persists tho. Im trying to do some aerial refueling but the tanker aircraft keeps pitching up and pitching down unexpectedly, making it hard to properly line up. Did you try above sea and even lower altitudes? Just for testing... Edited March 21, 2020 by RCA3 Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 5 minutes ago, RCA3 said: Did you try above sea and even lower altitudes? Just for testing... Yes ive tried a few altitudes. the current script now is deltaD flyInHeightASL [200]; (deltaD being the variable name of the aircraft) the same happens when the 200 is replaced with 400 and vice versa. ive also tried executing the script in the vehicles init and the AI pilot's init and it seems to have no effect. Share this post Link to post Share on other sites
RCA3 593 Posted March 21, 2020 Params are wrong: flyInHeightASL Share this post Link to post Share on other sites
kian che 0 Posted March 21, 2020 2 minutes ago, RCA3 said: Params are wrong: flyInHeightASL What should the params be? Share this post Link to post Share on other sites
RCA3 593 Posted March 21, 2020 One altitude for each behaviour: height - careless/safe/aware, height - combat, height - stealth cobraOne flyInHeightASL [200, 100, 400]; Share this post Link to post Share on other sites