Jump to content
Sign in to follow this  
SouthSaturnDelta

set spawned helicopters with engines on...

Recommended Posts

Hi again, another interesting problem I need to overcome.

                I spawn a helicopter, but notice that it sometimes crashes into the ground if either its placed too low, or goes into a spin while it tries to get the engines going.

How can I make it spawn already in a hover with the engines running ?

Its used for an evac, and often dosnt get far because the damned engines arent running when it is spawned.

I use the lines :

strikePlane3 = "Ch47D" camCreate (getMarkerPos "spawn3")

strikePlane3 setPos [(getPos strikePlane3 select 0),(getPos strikePlane3 select 1),(getPos strikePlane3 select 2)+800]

strikePlane3 setDir 180

special="FLY";

in my script.Its okay for planes, they always manage to pull up, but the helo takes longer to power up.

Many thanks,

SSD

Share this post


Link to post
Share on other sites

what you can do, is to wait a bit, like let the helo start its engine on the ground and setPos it a bit later.

i guess some expert in scripting will suggest the use of setVelocity though whistle.gif

Share this post


Link to post
Share on other sites

Hi Q, thanks for your idea . smile_o.gif

I'll try it with some scripts but i need one that will make the helo already flying when spawned as it will carry a cargo underneath it( this will disappear or drop if the helo is lower than a certain height).

As the above snippit shows I set the a;ltitude to 800m so there is enough time to get the rotors running before it hits the ground.The altitude is fine but sometimes the helo goes into a spin and crashes.

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  

×