Jump to content
Sign in to follow this  
Terran4999

Helicopter Waypoint

Recommended Posts

Does anyone have any ideas as to why I can only assigne one move waypoint in the editor for helicopters? After the helicopter meet the first move waypoint it just spins around in circles endlessly.

Share this post


Link to post
Share on other sites

The precision is 100m for helicopters and 200m for planes so they can't fly higher than that to reach WPs on ground. However, you can have the waypoints midair. Type this on the chopper's init line to lift WPs 1-8 to 400m:

{p=getWPPos[this,_x]; [this,_x] setWPPos [p select 0, p select 1, 400]} forEach [1,2,3,4,5,6,7,8]

To move a single WP:

p=getWPPos[this,9]; [this,9] setWPPos [p select 0, p select 1, 100]

Note that 0:MOVE in the editor is actually WP 1, not 0. WP 0 is the unit's initial position.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×