2015-05-19 11:45:28 +00:00
|
|
|
/*
|
2015-05-19 16:17:10 +00:00
|
|
|
* Author: joko // Jonas
|
|
|
|
* Cut Parachute and delete Old
|
|
|
|
*
|
|
|
|
* Arguments:
|
2018-01-17 11:36:10 +00:00
|
|
|
* 0: Object
|
2015-05-19 16:17:10 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2018-01-17 11:36:10 +00:00
|
|
|
* Nothing
|
2015-05-19 16:17:10 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [player] call FUNC(cutParachute);
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-05-21 06:06:59 +00:00
|
|
|
#include "script_component.hpp"
|
2016-09-04 14:44:22 +00:00
|
|
|
params ["_unit"];
|
|
|
|
private _vehicle = vehicle _unit;
|
2015-05-21 12:03:52 +00:00
|
|
|
_unit action ["GetOut", _vehicle];
|
2015-05-19 11:45:28 +00:00
|
|
|
deleteVehicle _vehicle;
|
2015-07-28 18:08:38 +00:00
|
|
|
_unit setVariable [QGVAR(chuteIsCut), true, true];
|