ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf

19 lines
404 B
Plaintext
Raw Normal View History

2015-05-19 11:45:28 +00:00
/*
* Author: joko // Jonas
* Reset the parachute system.
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* Boolean <BOOL>
*
* Example:
* [player] call FUNC(checkCutParachute);
*
* Public: No
*/
2015-05-21 06:06:59 +00:00
#include "script_component.hpp"
params ["_unit"];
(vehicle _unit isKindOf 'ParachuteBase' && !(_unit getVariable [QGVAR(chuteIsCut),false]) && (_unit getVariable [QGVAR(hasReserve),false]))