thetrooper 10 Posted October 10, 2013 Is there anyway to start the player in a jet at a certain height? Always seems to start around 120m. Below script doesn't work. this flyinheight 2000; Share this post Link to post Share on other sites
Gekkibi 11 Posted October 10, 2013 Just change the elevation in edit unit screen... Share this post Link to post Share on other sites
Ed! 13 Posted October 10, 2013 this setPos [(getPos this) select 0 , (getPos this) select 1, 2000]; Share this post Link to post Share on other sites
Gekkibi 11 Posted October 10, 2013 this setPos [(getPos this) select 0 , (getPos this) select 1, 2000]; No need to do that in A3 any longer. You can set the elevation in edit unit screen, lower left corner. Share this post Link to post Share on other sites
SavageCDN 231 Posted October 10, 2013 I don't think it works for placing objects at a negative elevation though (ie: in the ground) whereas the setpos line allows you to do this (just an FYI) Share this post Link to post Share on other sites
I34dKarma 1 Posted October 10, 2013 Is there anyway to start the player in a jet at a certain height?Always seems to start around 120m. Below script doesn't work. this flyinheight 2000; One more thing make sure and set the formation to flying in the editor so the object will start in the air with its engines on and not fall from the sky. I tried the elevation feature in the editor and had mixed results, the setPos command works when all else fails. Trooper you might want to use that flyinheight if you want your plane or heli to remain at that altitude, 2000 meters in your example, other wise the aircraft will dive down and fly at about 120 meters AGL. flyinheight is like setting a minimum AGL altitude for the aircraft. This command is really only needed for AI pilots. Share this post Link to post Share on other sites
inlesco 233 Posted October 10, 2013 Alternatively, you can toy with setVelocity [0,0,500]. Change numbers and see the outcome. Share this post Link to post Share on other sites