thetrooper 10 Posted May 4, 2014 Hi all. I remember is Arma2 that you can create a height for an object using the following. en1 setPos [getPos en1 select 0, getPos en1 select 1, 500]; I've got a bug in my script which I can't find at the moment, don't know if this script still works in Arma3? Basically I've spawned an aircraft but want it to be flying. Share this post Link to post Share on other sites
CSLALUKI 30 Posted May 4, 2014 You can use these two ways how to do this: via flyInHeight via the bottom side of the window for entering units (F1) - Altitude field Share this post Link to post Share on other sites
thetrooper 10 Posted May 4, 2014 ok cool. I noticed that there's a drop down box for special. Is there any way to script 'flying' option? Share this post Link to post Share on other sites
CSLALUKI 30 Posted May 4, 2014 Yes, in the editor is a drop down box for Special. You can click in this box on "Flying" option, and your vehicle is in the air. Share this post Link to post Share on other sites
thetrooper 10 Posted May 4, 2014 Yeah that's fine. I managed that one. I actually used en1 setPos [getPos en1 select 0, getPos en1 select 1, 500 in the end which does work in an SQF file as the vehicle is spawned. Problem is it starts off at that height. But AI decides to change it and go for a dive straight away. Don't know how to solve that one. Share this post Link to post Share on other sites
CSLALUKI 30 Posted May 5, 2014 (edited) AI want always adapt the height of helicopters. In this case, use flyInHeight script. For me this works good with AIs too. ;) And you have in the script small bug. Correctly: en1 setPos [getPos en1 select 0, (getPos en1 select 1) + 500]; :rolleyes: Edited May 5, 2014 by [CSLA]LUKI Share this post Link to post Share on other sites