EvilDead327 0 Posted February 8, 2007 Ive got the littlebirds with the KLR motorcycles attached and im trying to have an AI pilot enter the chopper, fly to a waypoint, drop both bikes and then fly away. Seeing the chopper "fires" the bikes like they are ammo I used helo1 fire "bas_klrrackl" ; "bas_klrrackr" to drop the bikes. My problem at first was the chopper would try to fire them before it landed and I was getting a hint message that said it had to land first. So I used (getpos helo1) select 2 < 1 to make sure it was on the ground. Well that kind of works but as soon as the pilot enters the chopper the trigger goes off and one of the bikes is dropped but not the other. How do I get both bikes to drop at the selected location and not when the pilot enters the chopper? Ive even tried making it a script and having it execute when the chopper gets to the selected location but it still just does the same thing. Share this post Link to post Share on other sites
EvilDead327 0 Posted February 10, 2007 Ok, I've got it all figured out except I still cant get the pilot to "fire" both bikes. I use helo1 fire "bas_klrrackl" ; helo1 fire "bas_klrrackr" but he always only fires the right side. He will fire the left if I take the right command out. Im not even sure if this is the right way to go about it. Any help would be great. Share this post Link to post Share on other sites
sanctuary 19 Posted February 10, 2007 To solve your problem, you need a certain time between the 2 helo1 fire "......" You can do it in 2 ways : -with a script , just copy/paste this in a text file, <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_helo = _this select 0 _helo fire "bas_klrrackl" ~0.5 _helo fire "bas_klrrackr" exit Once done, rename that file from whatever.txt into gogogo.sqs And put it in ...\Operation Flashpoint\Users\YourUserName\missions\YourMissionName folder Once done, in the OnActivation line of the trigger where you have put (getpos helo1 select 2) < 1 , put this : <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[helo1] exec "gogogo.sqs" The good side effect of using this script in that situation is that if you want to use several chopper unloading their KLR bike, you will just have to use <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[nameofyourHelo] exec "gogogo.sqs" For each helo triggers The other way, without script (and so less convenient if you use several choppers as you will end with the double amount of triggers) is to have the 1st trigger (in which you put (getpos helo1 select 2) < 1 as a condition) Put in that trigger for the line "On Activation" <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">helo1 fire "bas_klrrackl"; NEXTONE=true Then create a second trigger, at the line Countdown, put 1 in each case "min", "mid", "max" on the line Condition, put <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">NEXTONE And on the line On Activation put <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">helo1 fire "bas_klrrackr" So once the chopper land, it fire the first bike out, then 1 second later the second trigger activate and fire the 2nd bike out. Share this post Link to post Share on other sites
EvilDead327 0 Posted February 11, 2007 Thanks alot man. I knew there had to be a delay issue or something but couldnt figure it out. Share this post Link to post Share on other sites
inferno7312 0 Posted March 14, 2007 I wrote a little sqs, now helicopter can drop everything. Â choper drops mam and car video Share this post Link to post Share on other sites
mattxr 9 Posted March 14, 2007 I wrote a little sqs, now helicopter can drop everything. choper drops mam and car video nice, any chance to see it? Share this post Link to post Share on other sites
inferno7312 0 Posted March 15, 2007 I post script here helicopt drops Share this post Link to post Share on other sites