ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf
2015-05-19 21:46:34 +02:00

19 lines
359 B
Plaintext

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