mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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"];
|
cutText [format["\n\n%1 piles of wood has been successfully added in front of you.", _countOut], "PLAIN DOWN"];
|
||||||
|
|
||||||
|
player action ["Gear", _item];
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
r_interrupt = false;
|
r_interrupt = false;
|
||||||
if (vehicle player == player) then {
|
if (vehicle player == player) then {
|
||||||
|
|||||||
@@ -50,6 +50,8 @@ if(_type == "backpack") then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
player reveal _box;
|
player reveal _box;
|
||||||
|
|
||||||
|
player action ["Gear", _box];
|
||||||
|
|
||||||
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];
|
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];
|
||||||
|
|
||||||
|
|||||||
@@ -207,6 +207,8 @@ if (_proceed) then {
|
|||||||
_item addMagazineCargoGlobal [_itemOut,_countOut];
|
_item addMagazineCargoGlobal [_itemOut,_countOut];
|
||||||
} forEach _selectedRemoveOutput;
|
} forEach _selectedRemoveOutput;
|
||||||
player reveal _item;
|
player reveal _item;
|
||||||
|
|
||||||
|
player action ["Gear", _item];
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
cutText ["Failed object not longer exists.", "PLAIN DOWN"];
|
cutText ["Failed object not longer exists.", "PLAIN DOWN"];
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ if(!isNull _obj and alive _obj) then {
|
|||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
||||||
|
|
||||||
|
player action ["Gear", _holder];
|
||||||
};
|
};
|
||||||
|
|
||||||
s_player_packtent = -1;
|
s_player_packtent = -1;
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ if(!isNull _obj and alive _obj) then {
|
|||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
cutText [format["Your %1 has been packed",_text], "PLAIN DOWN"];
|
cutText [format["Your %1 has been packed",_text], "PLAIN DOWN"];
|
||||||
|
|
||||||
|
player action ["Gear", _holder];
|
||||||
};
|
};
|
||||||
s_player_packvault = -1;
|
s_player_packvault = -1;
|
||||||
TradeInprogress = false;
|
TradeInprogress = false;
|
||||||
Reference in New Issue
Block a user