JJFLY 1 Posted September 14, 2002 I have about 43 marines loaded into a c130 how would i make the c-130 fly over an area and have all the marines jump out and parachute to the ground? Share this post Link to post Share on other sites
B@ZOOkA 0 Posted September 14, 2002 hmm... i think this should be moved to mission editing btw: there are tons of tutorials about this out there Share this post Link to post Share on other sites
JJFLY 1 Posted September 14, 2002 where can i find one?! Share this post Link to post Share on other sites
B@ZOOkA 0 Posted September 14, 2002 probably at the tutorial-part of ofpec.com check it out Share this post Link to post Share on other sites
JJFLY 1 Posted September 14, 2002 Okay i did it , but the problem is i have more than one squad , how would i edit it so that my other three squads jump too Share this post Link to post Share on other sites
Hudson 0 Posted September 15, 2002 Dont know which script your using but the one I have is called parachute.sqs.... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">; Script name : parachute.sqs _units = units group (_this select 0) _helicopter = _this select 1 _i = 0 _Max = count _units #Here (_units select _i) action ["EJECT",_helicopter] unassignvehicle (_units select _i) _i=_i+1 ~1 ?_Max>_i:goto "Here" exit <span id='postcolor'> To set it up for more than one squad use the following in a trigger.... </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">[Group1Name,PlaneName] EXEC "PARACHUTE.SQS"; [Group2Name,PlaneName] EXEC "PARACHUTE.SQS"; [Group3Name,PlaneName] EXEC "PARACHUTE.SQS" <span id='postcolor'> Share this post Link to post Share on other sites
acidcrash 0 Posted September 15, 2002 in having them all jump at once that will cause several 'chutes to collide and "kill" the soldier, i usualy ripple mine (ie one squad jump in say 100m then two squad jumps, another 100m then three squad jumps...though i expect with it being an aircraft the squads would be very drawn out due to speed...2 being 50-75m from 1 etc) Share this post Link to post Share on other sites
JJFLY 1 Posted September 15, 2002 _aunits = units L1, _i = 0 _Max = count _aunits #Here (_aunits select _i) action ["EJECT",helo1] unassignvehicle (_aunits select _i) _i=_i+1 ~1 ?_Max>_i:goto "Here" exit thats the script i'm using Share this post Link to post Share on other sites
Major Fubar 0 Posted September 15, 2002 Mission editing? Share this post Link to post Share on other sites
ralphwiggum 6 Posted September 15, 2002 forgot to add: since you have 3 squads, you might want to do it one squad at a time. so my way(dumb way) would be to name all soldiers in 3 squads and go sq1 action ["EJECT",helo1] unassignvehicle (sq1 select _i) ~1 . . . and do it until the last one of them. but if you want, you might be able to utilize code from above. use that code, but at the end of the script, before 'exit' have some variable declared such as 'firstSquadJumped' to be true. then make another trigger that takes 'firstSquadJumped' to be a true condition, and then do the same script with second squad. except that at the end, the script will declare new variable called 'secondSquadJumped' to be true. then again, make another trigger that takes 'firstSquadJumped' to be true in condition field, and then proceed with thirdd squad. Share this post Link to post Share on other sites
Major Fubar 0 Posted September 15, 2002 Ralph Wiggum a mod? That unpossible! j/k Share this post Link to post Share on other sites
Duke_of_Ray 0 Posted September 15, 2002 What?!!!Ralph is a mod??! Crazy liberals, how could you let one be a mod?! j/k Share this post Link to post Share on other sites
Espectro (DayZ) 0 Posted September 15, 2002 You gotta be kidding me!!!!! Nooooooooooooooooooooooooooooooo!!!! Share this post Link to post Share on other sites
JJFLY 1 Posted September 15, 2002 lol thanks guys , but come on there's gotta be an easier way and i'm still confused, can't i just add L1, L2, L3 , like that? i tried that and that didn't work Share this post Link to post Share on other sites
ralphwiggum 6 Posted September 15, 2002 well, as i said, easiest(and also dumbest) way is to name all soldiers and write a simple script that goes sq1 action ["EJECT",helo1] unassignvehicle (sq1 select _i) ~1 . . . and do it until the last one of them. Share this post Link to post Share on other sites