ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

19 lines
404 B
Plaintext

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