Add actionInProgress and auto gear close within a service point action

This commit is contained in:
A Man
2022-04-17 14:54:41 +02:00
parent 701254a538
commit b005e4b372
2 changed files with 18 additions and 5 deletions

View File

@@ -544,6 +544,13 @@ if (!isDedicated) then {
(_display displayCtrl 105) lbSetColor [_i, [0.06, 0.05, 0.03, 1]];
};
};
gearDialog_close = {
while {dayz_actionInProgress} do {
findDisplay 106 closeDisplay 0;
uisleep 0.1;
};
};
dayz_lowHumanity = {
private "_unit";