Jump to content
Sign in to follow this  
Leving

Make my plane fly higher!

Recommended Posts

Can Someone please tell me the script for making my c130 fly higher? It keeps crashing into Trees.

If you know the script I should use, can you please write it in its full form for me. In other words the exact thing I should type in to get it to fly higher.

I read on another post

name_of_plane flyInHeight 1000

and

this setPos [getPos this select 0, this select 1,100]

From this information, Im unable to work out the variables of the script, and therefore cannot get it to work.

Thanks,

Leving.

Share this post


Link to post
Share on other sites

You should wait for answers to your questions in other threads before posting an entirely new thread, especially since the answer you wanted was already given twice anyway. :)

Share this post


Link to post
Share on other sites

Yeah the thread you linked was the one I refered to in my opening post. The reason I made this was because I did not understand the other threads.

I did however, work out how the script, so Ill explain it for other people like me who also may not understand.

1.name your plane

2.Give it a way point when its in the air

3.Edit the way point, and under 'Act' type; name (whatever you named your plane) FlyInHeight 1000 (whatever height you want)

In my case it was [plane FlyInHeight 1000]

The plane should then change height as it moves towards the waypoint. This should stop the C130 Crashing into treetops or buildings when transporting.

Thanks,

Leving.

Edited by Leving

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  

×