Open gear menu instantly after action completes

This commit is contained in:
[VB]AWOL
2013-10-27 11:50:29 -05:00
parent d18467cf54
commit d603a8f3f4
5 changed files with 10 additions and 0 deletions

View File

@@ -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 {

View File

@@ -50,6 +50,8 @@ if(_type == "backpack") then {
};
player reveal _box;
player action ["Gear", _box];
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];

View File

@@ -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"];

View File

@@ -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;

View File

@@ -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;