ACE3/addons/parachute/functions/fnc_cutParachute.sqf
2015-05-19 21:46:34 +02:00

22 lines
413 B
Plaintext

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