Jump to content
Sign in to follow this  
Novusordo

how to make a harrier spawn mid-air?

Recommended Posts

how would i make a harrier spawn in flight when i radio alpha??

Share this post


Link to post
Share on other sites

this should get you started:

eg:

_harrier = "AV8B" createVehicle [0,0,0];

_harrier setPos [500,5000,1000];

_harrier setVelocity [0,400,0];

_grp = group player;

_pilot = _grp createUnit ["SoldierWPilot", [500,5000,900], [], 0, "NONE"];

_pilot moveInDriver _harrier;

_pilot doMove getPos player;

Share this post


Link to post
Share on other sites

The code I posted is an SQF script. However the idea is that you don't copy and paste it! The script I gave you just creates a harrier at an arbitrary location. Spawning the unit is one thing, but making it do something useful will require that you change the script to suit your needs.

Share this post


Link to post
Share on other sites

damm thats just a little out of my reach ATM.

the reason i ask this question is cos my mision requires an airstrike and when it takes off on the runway it veers off course so i want the harrier to spawn mid-air instead of taking off via runway.

Share this post


Link to post
Share on other sites

Anything involving any aircraft doing something other than just flying will require some advanced editing. Bummer but its tough to pull off.

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  

×