ACE3/addons/parachute/functions/fnc_cutParachute.sqf
2018-01-17 03:36:10 -08:00

22 lines
388 B
Plaintext

/*
* Author: joko // Jonas
* Cut Parachute and delete Old
*
* Arguments:
* 0: Object
*
* Return Value:
* Nothing
*
* Example:
* [player] call FUNC(cutParachute);
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
private _vehicle = vehicle _unit;
_unit action ["GetOut", _vehicle];
deleteVehicle _vehicle;
_unit setVariable [QGVAR(chuteIsCut), true, true];