ACE3/addons/parachute/functions/fnc_cutParachute.sqf

22 lines
388 B
Plaintext
Raw Normal View History

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