chuteIsCuted -> chuteIsCut

This commit is contained in:
Joko 2015-05-19 14:20:56 +02:00
parent 44bc4ff66a
commit 7a012a5acb
4 changed files with 4 additions and 4 deletions

View File

@ -14,4 +14,4 @@
* Public: No
*/
#include "script_component.hpp"
SETVAR(_unit,chuteIsCuted,false);
SETVAR(_unit,chuteIsCut,false);

View File

@ -15,4 +15,4 @@
*/
_unit = _this select 0;
if (animationState _unit == "para_pilot" && !(GETVAR(_unit,chuteIsCuted,false))) then {true} else {false};
if (animationState _unit == "para_pilot" && !(GETVAR(_unit,chuteIsCut,false))) then {true} else {false};

View File

@ -19,4 +19,4 @@ _vehicle = vehicle _unit;
_unit action ["GetOut", vehicle _unit];
deleteVehicle _vehicle;
_unit addBackpack "B_Parachute";
SETVAR(_unit,chuteIsCuted,true);
SETVAR(_unit,chuteIsCut,true);

View File

@ -18,7 +18,7 @@ private ["_unit"];
_unit = _this select 0;
GVAR(PFH) = false;
[_unit, "AmovPercMevaSrasWrflDf_AmovPknlMstpSrasWrflDnon", 2] call EFUNC(common,doAnimation);
SETVAR(_unit,chuteIsCuted,false);
SETVAR(_unit,chuteIsCut,false);
[{
if (time >= ((_this select 0) select 0) + 1) then {
((_this select 0) select 1) playActionNow "Crouch";