Move handle on carrier doors (#5498)

This commit is contained in:
jonpas 2017-09-12 00:33:58 +02:00 committed by PabstMirror
parent d4cd0f2286
commit 9cce08f152
2 changed files with 9 additions and 2 deletions

View File

@ -83,7 +83,7 @@ GVAR(isOpeningDoor) = false;
call EFUNC(interaction,openDoor);
true
}, {
//Probably don't want any condidtions here, so variable never gets locked down
//Probably don't want any conditions here, so variable never gets locked down
// Statement
GVAR(isOpeningDoor) = false;
true

View File

@ -41,6 +41,13 @@ if ((_house animationPhase (_animations select 0) <= 0) && {_house getVariable [
};
};
// Add handle on carrier
if (typeOf _house == "Land_Carrier_01_island_01_F") then {
private _handle = format ["door_handle_%1_rot_1", (_animations select 0) select [5, 1]];
TRACE_1("carrier handle",_handle);
_animations pushBack _handle;
};
playSound "ACE_Sound_Click"; // @todo replace with smth. more fitting
GVAR(doorTargetPhase) = _house animationPhase (_animations select 0);