Jump to content
Sign in to follow this  
Funkman

Chopper set Height

Recommended Posts

Hi,

I searched the forums (as I always do) but couldnt find anything, I think the search function here is not much good.

Anyway, I just want to know how to set the height of a hovering chopper. I tried setPosATL, and set it to higher than it was, it starts there, but just decends back down to the level it was at before...

Thanks.

Share this post


Link to post
Share on other sites

If you wish for the helicopter to be immediately at your preferred height, use something like the following:

_alt = x;
heli setPos [(position heli select 0),(position heli select 1),_alt];
heli flyInHeight _alt;

And, obviously, replace x with your height value and heli with the name you've given to your helicopter. If you wish for the helicopter to descend to your preferred altitude, use:

_alt = x;
heli flyInHeight x;

Keep in mind that flyInHeight only activates when an aircraft has a waypoint assigned to it. Hope that helps!

Edited by Zipper5

Share this post


Link to post
Share on other sites

Thanks that works great.

Can I ask another couple of questions please?

1) How do you end and intro sequence?

2) Are there any effects I can apply in an intro to make it look like a camera is through some kind of FLIR or Optical system in a helicopter? (I dont have OA)?

Thanks again.

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  

×