Jump to content
Sign in to follow this  
mutantx

I need a para script

Recommended Posts

i need a parachute script that makes troops eject at 1 second intervals (i tried the one on the tutorial on ofpec but the chopper stops then drops the troops and i dont like that) i want one where the chopper keeps going like noraml and troops eject 1 sec after eachother

Share this post


Link to post
Share on other sites

Without looking at the script you referenced, I would suggest removing whatever command they have that stops the helo, and then putting in a one second delay IN the loop that ejects the ai's(if their is a loop). If the script uses "foreach" command, you might remove that, and create a loop with a delay in it.

Share this post


Link to post
Share on other sites

i know absolutly nothing about scripting so i dont know how to do all of that..can you just give me a simple script i could use?

Share this post


Link to post
Share on other sites

To make this work properly for your particular circumstance, you will have to adapt some things such as how the "DropZone" trigger is activated.

Make:

group of men with leader named "TheBoss"

helo named "MyHelo"

trigger:

name - "DropZone"

activated "repeatedly" if you need.

activated by: west

condition: this

on activation: [] exec "ParaDrop.sqs"

(note that any west unit can activate this trigger, you will need to modify it to fit your needs, so that it will trigger your men to parachute from the helo)

ParaDrop.sqs :

_jumpers = units TheBoss

_cnt = count _jumpers

MyHelo flyinheight 100

#loop

_cnt = _cnt - 1

_jump = _jumpers select _cnt

? _jump != driver MyHelo : _jump action ["eject", MyHelo]

unassignvehicle _jump

~1

? _cnt > 0 : goto "loop"

exit

_

At some point you will need to put the men in the helo, and have the helo fly through the trigger. When "TheBoss" and his troops are in the helo, and in the trigger, they will bail out at 1 second interval. Except the pilot, I added a test to skip a unit if that unit is piloting the helo.

Hopefully this will help get you on your way to accomplish what you want in your mission. good luck.

Share this post


Link to post
Share on other sites

quick note, if the helo you are going to use is on a waypoing list, you can activate the ParaDrop.sqs via a waypoint for the helo.

Share this post


Link to post
Share on other sites

Hey, mutantx, I can send you a "mission" i made, where you see 3 choppers, which drop 10 units each with para's while flying. Just gimme your e-mail.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×