mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Move handle on carrier doors (#5498)
This commit is contained in:
parent
d4cd0f2286
commit
9cce08f152
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user