AKK 0 Posted March 29, 2004 I am making a mission where you are the medivac chopper pilot and the LZ is hot. And I mean hot!! I have a problem though with AI boarding my chopper. They take forever like they are playing a game of poker before they board and can't be bothered to get on untill someone plays a straight flush. In the mean time I'm gett'n shot to shit and usualy I dont get off the ground do to chopper dammage.I don't mind so much gett'n shot up but for some sort of realism I would like the AI to board faster so the pilot can make it out with the wounded. Now I have things in place to make sure the chopper has a hard time gettin in and out but the slow boarding kinda ruins the whole "Hot LZ" thing I wonder is there a way to force AI to board faster?? Share this post Link to post Share on other sites
General Barron 0 Posted March 30, 2004 I'm not sure if this will work, but I suppose its worth a shot. Here is the basic idea: 1) Make each guy in the squad move next to the helo 2) When they are close enough to the helo, play the "getting in helo" animation 3) After the animation plays, teleport the guy into the chopper via scripting commands It may work via running this script on everybody you want to move into the helo, using this line for each guy: [man, helo] exec "getin.sqs" getin.sqs: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_man = _this select 0 _helo = _this select 1 #Loop _man domove getpos _helo ?_man distance _helo < 5 : goto "board" ~2 ?alive _man && alive _helo : goto "Loop" exit #board _man playmove "Cargo" ;//Not sure which animation to use here ~1.5 ;//change this delay to fit with the animation _man moveInCargo _helo exit Share this post Link to post Share on other sites
AKK 0 Posted March 30, 2004 Thanks GB I'll give it a try. Cause I'm all out of in editor ideas I have tried everything from no weapons to weapons to safe ect....etc....etc. So far Ive noticed that they board fastest with weapons set aware and never fire but I 'm still on the ground at least 2+ mikes. But thanks I'll go give it a whirl Share this post Link to post Share on other sites