scifer 10 Posted February 1, 2011 I want to make an air route for my plane. How do I set a waypoint height? Share this post Link to post Share on other sites
f2k sel 164 Posted February 1, 2011 You can't. You can tell the plane to change height eg planename flyinheight 200 and place it in the waypoint. If you need to know the height of the aircraft at the waypoint high = getpos planename select 2;hint format[" %1",high] would tell you the height of the plane and store the result in a variable in this case "high" You can also use it as a condition in a waypoint or trigger ect. place in the waypoint condition box getpos planename select 2 > 30 and in on act planename setdamage 1 Now when the plane reaches this waypoint and it's flying above 30 meters it explodes. There are also different uses commands getPos,getPosASL,getPosATL choose which works best in the given situation. Share this post Link to post Share on other sites
Beagle 684 Posted February 1, 2011 Keep in mind that a airplane will have trouble reaching a waypoint at all if the flyInHeight value is above 500. Share this post Link to post Share on other sites
f2k sel 164 Posted February 1, 2011 Keep in mind that a airplane will have trouble reaching a waypoint at all if the flyInHeight value is above 500. Yes and the waypoint will activate much earlier than a vehicle or soldier so you need to space them well apart . Share this post Link to post Share on other sites
scifer 10 Posted February 2, 2011 Thanks for the advices. I put the following condition: "player in plane1". Share this post Link to post Share on other sites