ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf

19 lines
411 B
Plaintext

/*
* Author: joko // Jonas
* Reset the parachute system.
*
* Arguments:
* 0: Object
*
* Return Value:
* Boolean
*
* Example:
* [player] call FUNC(checkCutParachute);
*
* Public: No
*/
#include "script_component.hpp"
private["_unit"];
_unit = _this select 0;
(vehicle _unit isKindOf 'ParachuteBase' && !(_unit getVariable [QGVAR(chuteIsCut),false]) && (_unit getVariable [QGVAR(hasReserve),false]))