dimeh98 10 Posted May 21, 2014 Hello, I have a problem on the mission editor, I wrote "this setpos [getpos this select 0, getpos this select 1, +600]" in the chopper initialisation, but the pilot get down bit by bit... How to solve this problem with the AI ? Share this post Link to post Share on other sites
nettrucker 142 Posted May 21, 2014 Put in in the choppers init field this flyInHeight 100; Which means the chopper will mostly stay at 100 m height. Hope that helps cheers Share this post Link to post Share on other sites
dimeh98 10 Posted May 21, 2014 Put in in the choppers init fieldthis flyInHeight 100; Which means the chopper will mostly stay at 100 m height. Hope that helps cheers Thank you very much :). ---------- Post added at 18:03 ---------- Previous post was at 17:54 ---------- Put in in the choppers init fieldthis flyInHeight 100; Which means the chopper will mostly stay at 100 m height. Hope that helps cheers I did it 2 minutes before and the chopper stay at 50 meters. ---------- Post added at 18:09 ---------- Previous post was at 18:03 ---------- Put in in the choppers init fieldthis flyInHeight 100; Which means the chopper will mostly stay at 100 m height. Hope that helps cheers It works only when there is a waypoint for the chopper. Share this post Link to post Share on other sites
AZCoder 921 Posted May 22, 2014 The last comment on the wiki entry says the same thing about waypoints: https://community.bistudio.com/wiki/flyInHeight You can simply give the helo a "hold" waypoint and he should maintain height. I tested it with a BAF Merlin successfully. Share this post Link to post Share on other sites
f2k sel 164 Posted May 22, 2014 Odd they will descend using flyinheight but not ascend this seems to work without waypoints h=75;this flyInHeight h;this domove (this modelToWorld [0,0,h]); Share this post Link to post Share on other sites
AZCoder 921 Posted May 22, 2014 Helos will ascend IF you give them a way point with the flyInHeight. They love their waypoints! :) I really like your suggestion, F2k, with modelToWorld. Share this post Link to post Share on other sites