ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf

19 lines
359 B
Plaintext
Raw Normal View History

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