Bob.Moore 0 Posted June 3, 2007 hi guys the title says it all, i put -- this flyingheight 2000 --- and it comes up missing ; please help Share this post Link to post Share on other sites
bob1787 0 Posted June 3, 2007 flyinheight not flyingheight Share this post Link to post Share on other sites
Kirby 2 Posted June 3, 2007 add ; after it then this flyinhieght 2000; and it doesn't start them there it makes them rise/lower to that level. Share this post Link to post Share on other sites
Bob.Moore 0 Posted June 3, 2007 thanks for the help guys Share this post Link to post Share on other sites
Balschoiw 0 Posted June 3, 2007 @Blazin Quote[/b] ]this flyinhieght 2000; *cough* ..I hate typos aswell... Share this post Link to post Share on other sites
GiLaN 0 Posted June 4, 2007 Hey I got some problems with the flyinheight command. My planes / choppers won't follow the waypoints they are advised to reach. They're starting to do circles, to lower their altitude, to raise it, then to lower it again.... I heard that was a problem of relative altitude, and not absolute one. Is there a way to make a path for my planes without any problem? Share this post Link to post Share on other sites
bob1787 0 Posted June 4, 2007 this is quite an old problem, chopper and planes need to be within somewhere around 500m-800m to complete a waypoint (i forget which). theres not a scripting command that can set their 3D position seeing as, firstly setWPPos only takes 2D positions and setWaypointPosition sets the "placement radius" easiest way round i can think of that might work would be to use gamelogics or some other invisible entity (that can stay static in 3D space, 3D coords will do) and use doMove or move. and then using a series of triggers or scripting conditions to complete each of your own waypoints, im sure someone else has a better idea Share this post Link to post Share on other sites
Big Dawg KS 6 Posted June 4, 2007 On the contrary bob1787, setWPPos does accept a 3d position array. I know the biki says otherwise but it will accept both 2d and 3d arrays, and it does allow you to change the height of the WP. Share this post Link to post Share on other sites
bob1787 0 Posted June 5, 2007 oh yeah so it does AI doesn't seem to like it though Share this post Link to post Share on other sites
Kirby 2 Posted June 5, 2007 @BlazinQuote[/b] ]this flyinhieght 2000; *cough* Â Â ..I hate typos aswell... Damn it. I always follow the wrong English rules. I was thinking "I before E except after C" Share this post Link to post Share on other sites
alfish 0 Posted June 14, 2007 I put this: this flyinheight 10; and it does work. what Iam I doing wrong? Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted June 14, 2007 I put this: Â this flyinheight 10; Â and it does work. what Iam I doing wrong? On a pilot or on a plane/copter (doesn't work on the pilot)? Also, according to the biki/wiki it may not work if set below 20. Share this post Link to post Share on other sites
alfish 0 Posted June 15, 2007 On a pilot or on a plane/copter (doesn't work on the pilot)?Also, according to the biki/wiki it may not work if set below 20. I gave a harrier a waypoint and made it so it was already in flight then put: this flyinheight 10; in the script text box. Also I copied and pasted it into the act text box to see if it would work in there and it came up with a message saying, "missing ;", as above. Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted June 15, 2007 Have you tried naming the harrier and using it's name instead of this? Share this post Link to post Share on other sites
alfish 0 Posted June 15, 2007 ye I tried putting in the harriers name - AV-8B and it still come up with that message: missing :. then I added another ";" after the AV-8B so it looks like this: AV-8B; flyinheight 25;, then it says this message "type number, expected nothing" Share this post Link to post Share on other sites
alfish 0 Posted June 15, 2007 ye I tried putting in the harriers name - AV-8B and it still come up with that message: missing :. then I added another ";" after the AV-8B so it looks like this: AV-8B; flyinheight 25;, then it says this message "type number, expected nothing" Share this post Link to post Share on other sites
HulkingUnicorn 0 Posted June 15, 2007 Name it AV8B or AV_8B instead. It may interpret it as Av8 - (minus) 8B, which isn't what you want. Share this post Link to post Share on other sites
ArmaVidz 0 Posted June 19, 2007 I had the same problem with flyinheight until as suggested, I named the harrier and instead of "this" you use the name you gave it. harr1 flyinheight 20; always works like a charm. Until of course they try to loop or something. It works quick and dirty but for sustained flying, it just makes em crash. An interesting thought on flyinheight, I've used a trigger to force an A-10 into a dive by flying it in at 200, then hitting a small trigger which is set to flyinheight 10, then another trigger for flyinheight 200. It dives and then pulls up when it hits the second trigger. Share this post Link to post Share on other sites