Novusordo 0 Posted April 23, 2007 how would i make a harrier spawn in flight when i radio alpha?? Share this post Link to post Share on other sites
fasad 1 Posted April 24, 2007 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
Novusordo 0 Posted April 24, 2007 awesome - and where would i copy & paste all that to?? Share this post Link to post Share on other sites
fasad 1 Posted April 24, 2007 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
Novusordo 0 Posted April 24, 2007 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
Op4 BuhBye 0 Posted April 24, 2007 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
mr.peanut 1 Posted April 24, 2007 One word: OFPEC Airstrike Script Share this post Link to post Share on other sites