Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Filename: Simple ParaDrop Script v0.97 eject.sqf
- Author: Beerkan
- Description:
- A Simple Paradrop Script
- Parameter(s):
- 0: VEHICLE - vehicle that will be doing the paradrop (object)
- 1: ALTITUDE - (optional) the altitude where the group will open their parachute (number)
- Example:
- 0 = [vehicle, altitude] execVM "eject.sqf"
- */
- if (!isServer) exitWith {};
- private ["_paras","_vehicle"];
- _vehicle = _this select 0;
- _paras = assignedcargo _vehicle;
- ParaLandSafe =
- {
- private ["_unit"];
- _unit = _this select 0;
- _unit action ["eject", vehicle _unit];
- sleep 0.5;
- };
- {
- unassignvehicle _x;
- moveout _x;
- sleep 0.5;//space the Para's out a bit so they're not all bunched up.
- } forEach _paras;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement