Jump to content
Sign in to follow this  
dimeh98

How to make the chopper stay at the same altitude ?

Recommended Posts

Hello, I have a problem on the mission editor, I wrote "this setpos [getpos this select 0, getpos this select 1, +600]" in the chopper initialisation, but the pilot get down bit by bit... How to solve this problem with the AI ?

Share this post


Link to post
Share on other sites

Put in in the choppers init field

this flyInHeight 100;

Which means the chopper will mostly stay at 100 m height.

Hope that helps

cheers

Share this post


Link to post
Share on other sites
Put in in the choppers init field

this flyInHeight 100;

Which means the chopper will mostly stay at 100 m height.

Hope that helps

cheers

Thank you very much :).

---------- Post added at 18:03 ---------- Previous post was at 17:54 ----------

Put in in the choppers init field

this flyInHeight 100;

Which means the chopper will mostly stay at 100 m height.

Hope that helps

cheers

I did it 2 minutes before and the chopper stay at 50 meters.

---------- Post added at 18:09 ---------- Previous post was at 18:03 ----------

Put in in the choppers init field

this flyInHeight 100;

Which means the chopper will mostly stay at 100 m height.

Hope that helps

cheers

It works only when there is a waypoint for the chopper.

Share this post


Link to post
Share on other sites

Odd they will descend using flyinheight but not ascend

this seems to work without waypoints

h=75;this flyInHeight h;this domove (this modelToWorld [0,0,h]);

Share this post


Link to post
Share on other sites

Helos will ascend IF you give them a way point with the flyInHeight. They love their waypoints! :)

I really like your suggestion, F2k, with modelToWorld.

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  

×