mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Open gear menu instantly after action completes
This commit is contained in:
@@ -116,6 +116,8 @@ if (count(_findNearestTree) >= 1) then {
|
||||
|
||||
cutText [format["\n\n%1 piles of wood has been successfully added in front of you.", _countOut], "PLAIN DOWN"];
|
||||
|
||||
player action ["Gear", _item];
|
||||
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
if (vehicle player == player) then {
|
||||
|
||||
@@ -50,6 +50,8 @@ if(_type == "backpack") then {
|
||||
};
|
||||
|
||||
player reveal _box;
|
||||
|
||||
player action ["Gear", _box];
|
||||
|
||||
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];
|
||||
|
||||
|
||||
@@ -207,6 +207,8 @@ if (_proceed) then {
|
||||
_item addMagazineCargoGlobal [_itemOut,_countOut];
|
||||
} forEach _selectedRemoveOutput;
|
||||
player reveal _item;
|
||||
|
||||
player action ["Gear", _item];
|
||||
};
|
||||
} else {
|
||||
cutText ["Failed object not longer exists.", "PLAIN DOWN"];
|
||||
|
||||
@@ -97,6 +97,8 @@ if(!isNull _obj and alive _obj) then {
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
||||
|
||||
player action ["Gear", _holder];
|
||||
};
|
||||
|
||||
s_player_packtent = -1;
|
||||
|
||||
@@ -106,6 +106,8 @@ if(!isNull _obj and alive _obj) then {
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
cutText [format["Your %1 has been packed",_text], "PLAIN DOWN"];
|
||||
|
||||
player action ["Gear", _holder];
|
||||
};
|
||||
s_player_packvault = -1;
|
||||
TradeInprogress = false;
|
||||
Reference in New Issue
Block a user