Jump to content
Sign in to follow this  
DarkPraetorian

Altitude in Choppers

Recommended Posts

I have a Hind doing a paradrop in my cutscene, but the Hind isn't high enough, so the paratroopers fall and die. How do I get the Hind to fly higher?

Share this post


Link to post
Share on other sites

very simple "helo" chopper's name

helo flyinheight 120

the 120 is how high in meters the chopper will be in the airI]

put this in the chopper's waypoint On activation

Share this post


Link to post
Share on other sites

What if you wanted it to start at that altitude?

could I put it in the Choppers init field?

Share this post


Link to post
Share on other sites

'fly in height' command doesn't tell what altitude a chopper or plane is in from the start - but what altitude it will "start" flying in...

if you wish to start a chopper at 10 meters rather than its default, you'll have to use setPos... for instance:

init field: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this setPos [(getPos this select 0), (getPos this select 1), 10 ] <span id='postcolor'>

note the 10 at the end... Z coordinate - up & down.

if you then give it a waypoint it will probably fly back into it's normal 30~60 meters or however much it is, but you could then tell it to 'flyinheight' 10.. it should then both start and stay in 10 meters until you change it again...

did that help? smile.gif

Share this post


Link to post
Share on other sites

There is a much simpler way to make a unit start flying : Simply look at the unit's property box (double click unit) and set it's special to "flying" , then set the chopper height (or any flying unit) by using this in the init :

this flyinheight 120

Share this post


Link to post
Share on other sites

you misunderstand me...

what he asked: What if you wanted it to start at that altitude?

you want to make a chopper start at 120 feet and you only use flyinheight it will START at ~40 or something and then fly up to 120.

you need setPos to make it START at 120.

you need flyinheight to make it stay there.

trust me.

I'm making a chopper mission as we speak... smile.gif

Share this post


Link to post
Share on other sites

Oh, whew, I thought this was attitude in choppers... like that time my co-pilot started giving me wierd looks so I made him eject over the ocean.

What?

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  

×