Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
alx

How to maintain AI chopper hover height?

Recommended Posts

I have set up a chopper piloted by an AI and player is gunner. It has a single waypoint to HOLD and is set to careless behaviour. Despite using the setInHeight script, the chopper always slowly descends to about 50m. How can you get the chopper to stay at a certain height?

Share this post


Link to post
Share on other sites

Have you tried putting heliname1 flyinheight 50 in the waypoint activation?

Share this post


Link to post
Share on other sites
Have you tried putting heliname1 flyinheight 50 in the waypoint activation?

Yes. My bad to have described it as "setInHeight". This doesn't seem to work and there is a comment to this from 2009 in the wiki. It seems strange to me that there is no way to do this.

Share this post


Link to post
Share on other sites

HOLD waypoints never complete so their onAct never runs. Have a MOVE waypoint with your flyInHeight command in the onAct. Then a HOLD waypoint. Then a trigger to release the HOLD to move to the next waypoints.

There's no reason to have a helicopter do nothing but hover at a specific height and not move though. That's just unnecessary noise.

Share this post


Link to post
Share on other sites

Thanks, I'll try that. The hover in one place is to set up a fish-in-barrel situation whereby one can practice gunnery at a distance.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×