
Originally Posted by
Kremator
DAP once again you have broken the rules and made something wonderful ..... thanks mate !
You are welcome 

Originally Posted by
Z.agge
I tried the script and it works wonderfully! It would be cool to have some kind of tutorial, how to use this for our own missions (if it's okay to you of course). By the way, I have no idea if this has anything to do with the script or not, but I noticed that if you open the parachute too late and the character ends up upside down to the ground, the parachute mysteriously explodes killing everyone around you. This happened to me once and was really weird because I have seen nothing like this happening before. Not a big problem though.
Ok
Here is simple instructions about using this script:
1. Loading in plane:
You can load whole group in plane cargo. For that run this script: [Plane,Unit] execVM "Daponboard\Scripts\Onboard\Loadgroup.sqf";
Where:
Plane - plane which will be used as transport.
Unit - leader of this group.
Here is some limitations:
C-130 - 10 units max
AN-72 - 12 units max
IL-76 - 16 units max
If number of units in group more than these values, then group will not be loaded in plane.
2. Plane:
You can set direct path and fly height for plane. For this you need add this string in plane init: [Plane,Height] execVM "Daponboard\Scripts\Onboard\AIPilot.sqf";
Where:
Plane - transport plane.
Height - fly height for plane (plane will be automatically set to this height)
Notes: You can manually set direction for plane in editor. After running this script pane will fly in selected direction.
3. Paradrop control:
For paradrop you need open plane's ramp. For that jsut run this script (via another script or trigger): [Plane] execVM "Daponboard\Scripts\Onboard\PlaneRamp.sqf"
This script automatically open plane's ramp in postion for paradrop.
Where: Plane - transport plane
If AI loaded in plane, then you need give them "green light" for jump. You can set it via variable: Plane setVariable ["DAP_GreenLight_GetOutAI",1,true];
Where: Plane - transport plane
Note: You must be shure that plane's ramp already opened. So add small timeout after opening plane's ramp. Player can jump out without this variable (when ramp is open - you can jump out)
About "exploding parachute": I'm using default parachutes from BIS, so all questions to them
In ARMA2 parachutes is vehicles too, so they can explode is some kind of situations