Noble Gas 10 Posted February 24, 2014 Here's the Scenario: I have Opfor seated in 2 buzzards, and miles away, I have Blufor get in to Hellcats and fly south to an LZ. Just before they are about to land, I want the Buzzards to fire missiles at them and blow them up. So far, the Method I have in place is very hit or miss, sometimes working perfectly, sometimes only one of the hellcats is destroyed, and then the buzzards loop around and come back to shoot it down, and sometimes, they never come back at all. I want a clean, quick strike, where each buzzard fires 1 missile at each hellcat, blowing them up instantly, and then the buzzards streak off into the sunset. So, how do I get this to work reliably? Share this post Link to post Share on other sites
Noble Gas 10 Posted February 25, 2014 So... no one has any ideas? I tried attaching a "Destroy" way point to the hellcats, but the dumb buzzards end up flying to where the hellcats start out, NOT where the hellcats and their LZ is. Share this post Link to post Share on other sites
f2k sel 164 Posted February 25, 2014 Destroy waypoint only means wait until object is destroyed it doesn't mean attack the object. It's never going to be 100% as AI have minds of there own. You could increase your chances a little by revealing one hellcat to each buzzard. buz1 reveal [hellc1,4]; buz2 reveal [hellc2,4]; change the names to whatever you want. it may also be worth trying to disabling AI's auto targeting.This needs to be done before they encounter the hellcats. {_x disableAI "target";_x disableAI "autotarget"} foreach [buz1,buz2] Share this post Link to post Share on other sites
Noble Gas 10 Posted February 25, 2014 Beautiful! Thanks for the response and the help; I'll test this out when I get home. Share this post Link to post Share on other sites
MulleDK19 21 Posted February 25, 2014 (edited) Like I told you on IRC yesterday, I already made a script for you. http://treesoft.dk/temp/Recording60.mp4 Edited February 25, 2014 by MulleDK19 Share this post Link to post Share on other sites
Noble Gas 10 Posted February 25, 2014 That's awesome, MulleDK19, and looks a lot like what I want. Where is said script? Share this post Link to post Share on other sites
Kydoimos 916 Posted February 25, 2014 Script the whole scene with the unitCapture command. It'll look awesome! Share this post Link to post Share on other sites
Noble Gas 10 Posted February 25, 2014 What is the unitCapture command? Share this post Link to post Share on other sites
Kydoimos 916 Posted February 25, 2014 Everything you need to know is in the editor function library, under unitCapture. I think there's a few threads on the subject too. Share this post Link to post Share on other sites
MulleDK19 21 Posted February 25, 2014 That's awesome, MulleDK19, and looks a lot like what I want. Where is said script? http://treesoft.dk/arma3/downloads/PlaneInterceptHelicopter.Altis.zip Copy interceptByPlanes.sqf and interceptByPlane.sqf into your mission folder. Then name the choppers, eg. chopper1 and chopper2. Then when you want them shot down use the following code: [[chopper1, chopper2], 2] execVM "interceptByPlanes.sqf; The script will automatically spawn 2 planes who will shoot down the choppers within a few seconds. Share this post Link to post Share on other sites
Noble Gas 10 Posted February 26, 2014 Thank you SO much, Mulle! Although I had a few problems, I've managed to implement the Script well enough. there is one issue: Can't get the buzzards to spawn. There just suddenly appears a couple of missiles in mid-air, and they definitely do the trick, but there's no planes like in the vid you linked (and I presume made). Any Ideas on what I'm doing wrong? Share this post Link to post Share on other sites
MulleDK19 21 Posted February 26, 2014 Thank you SO much, Mulle! Although I had a few problems, I've managed to implement the Script well enough. there is one issue: Can't get the buzzards to spawn. There just suddenly appears a couple of missiles in mid-air, and they definitely do the trick, but there's no planes like in the vid you linked (and I presume made). Any Ideas on what I'm doing wrong? If the script is running, and there are missile, then there are planes. The missiles aren't spawned, they're fired by the planes. If you send me your mission I can take a look, if you want. Share this post Link to post Share on other sites
Noble Gas 10 Posted February 26, 2014 I'd really appreciate a second set of eyes to review my work. I'm stuck at work for now, but this evening, I'll toss the mission up somewhere I guess and PM you a link. Cool? Share this post Link to post Share on other sites
MulleDK19 21 Posted February 26, 2014 I'd really appreciate a second set of eyes to review my work. I'm stuck at work for now, but this evening, I'll toss the mission up somewhere I guess and PM you a link. Cool? Sure. Share this post Link to post Share on other sites