GHelicopter.sqs (Beta-3)

Invocation:

Example: [heliW2,[grpW1],[helipad1,0, true], [helipad2,true], 2,"accion.sqs", [pos1, pos2]] exec "Ghelicopter.sqs"

SCRIPT’S CAPABILITIES:
The invocation it isn’t hard, but it’s a little tweky. You have to pay attention to the parametres:

Parameter-1:
[quote]The name of the unit with the asigned task.
(Example: Helo1)[/quote]

Parameter-2:
[quote]Array with the unit's groups names who are going to be transported.
(Example: [GrpW1, GrpW2,...GrpW99])[/quote]

Parameter-3:
[quote]Array of the 3 elements which defines the behaviour in the sub-task of the platoon:
(Example1: [Helipad1, 30, false])
(Example2: [Camion, 0, true])
Parameter-3-1: Unit where the helicopter is going to go to extract the platoon.
        Something normal to use is a invisible helipad but you can use a mobil unit,
        The heli will move to it, even if it's moving.

Parameter-3-2: Number of seconds that the helicopter wait until the assigned unit come abord.
        If it's zero, will wait indefinitely. If time has expired and the leader of the group
        Is at least 100 meters, will maintain that position until address the group or
         It is killed by the enemy.

Parametro-3-3: If it is true, the helicopter eject cans of smoke to cover the
         Abord of the group.[/quote]

Parameter-4:
[quote]Array of the 3 elements which defines the behaviour in the sub-task of the platoon:
(Example1: [Helipad1, 30, false])
(Example2: [Camion, 0, true])
Parameter-4-1: idem to the parameter 3-1

Parameter-4-2: idem to the parameter 3-3 but at the moment of deploying the group (usually
         LZ a "hot").[/quote]

Parameter-5:
[quote]Tipe of deployment of the transported group: (Values are: 0, 1 or 2)
0-Deployment in normal mode (altitude 0)

1-Deployment by rope (Rapel).
     The helicopter arrives at the designated area, and deploys the group by ropes on the helicopter from
     Stationary flight. Depending on the type of helicopter, it will use 1 or 2 cords.

2-Deployment by parachute
     The helicopter arrives at a distance from the point of release (drop-zone) and acquires necessary altitude
     To ensure the integrity of the group launched (> 150m). Then incorporates height and abandoned area.

3-Fast insertion
     The helicopter will slow down and fly at 3 meters while the troops goes out, then the heli flies away.
[/quote]

Parameter-6:
[quote]Name of the script that will run as soon as the insertion
    of the group finish. (Combat, safe, etc).
    You can leave this space blank.[/quote]

Parameter-7:
[quote]Array containing the names of the objects (usually logical units) used as benchmarks
to determine the approximate route of the helicopter on his way to the area of insertion(WPs).
Example: [UL1, UL2,....UL99]
But, if you don't put them in the mission editor the helicopter will fly directly to the LZ.[/quote]


[b]FUTURE DEVELOPMENT:[/b]

It will be able to portering in external slings artillery, light vehicles or cargo (ammo, etc.)
For now this works only for the UH-60, with the Mi-17 too but the rope don't apear in the door. And in the future if somebody realeses a UH-60 (or other helicopter) with both doors open, there will be 2 ropes.

It's recommended to be familiarised, and you have to be VERY curious, modificate (in the invocation) everything, so you will know hot it works.





All the work: RAVEN
The publisher: Benoist
Official page/clan: www.armedassault.com.ar