Jump to content
Sign in to follow this  
Badassdom

Bomb run

Recommended Posts

one of ofp's limitations is the airattack, the planes can only attack from close range.

could a script be that would keep planes at a higher altitude when there engaging targets?

Share this post


Link to post
Share on other sites

Once i made a script that FORCED a plane to stay at a certain height...  (Actually it wasn't actually flying smile_o.gif )

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">AirCraft SetPos [_X, _Y, _Z] where _Z was equal to 300

I coded the script so that the plane traveled _Y + 1 in a loop...

then i CamCreated every bomb dropped and gave them a push with SetVelocity...

I just gave you an idea of how to make it work...

I wont engage more in this right now... My head hurts and i'm loosing sleep!

biggrin_o.gif  Hope it helps a little!

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  

×