ACE3/addons/parachute/functions/fnc_checkCutParachute.sqf
2015-05-19 13:45:28 +02:00

18 lines
313 B
Plaintext

#include "script_component.hpp"
/*
Name: check Cut Parachute
Author: joko // Jonas
Description:
Check if Parachute can be Cuted
Parameters:
0: Object
Returns:
Boolean
*/
_unit = _this select 0;
if (animationState _unit == "para_pilot" && !(GETVAR(_unit,chuteIsCuted,false))) then {true} else {false};