mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Correct build text
This commit is contained in:
@@ -417,6 +417,8 @@ if (_canBuild select 0) then {
|
|||||||
|
|
||||||
while {_isOk} do { //publish phase
|
while {_isOk} do { //publish phase
|
||||||
|
|
||||||
|
format[localize "str_epoch_player_139",_text, (_counter + 1),_limit] call dayz_rollingMessages; //report how many steps are done out of total limit
|
||||||
|
|
||||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
||||||
player playActionNow "Medic"; //animation
|
player playActionNow "Medic"; //animation
|
||||||
|
|
||||||
@@ -461,8 +463,6 @@ if (_canBuild select 0) then {
|
|||||||
_counter = _counter + 1;
|
_counter = _counter + 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
format[localize "str_epoch_player_139",_text, _counter,_limit] call dayz_rollingMessages; //report how many steps are done out of total limit
|
|
||||||
|
|
||||||
if(_counter == _limit) exitWith { //if all steps done proceed with next step, otherwise cancel publish
|
if(_counter == _limit) exitWith { //if all steps done proceed with next step, otherwise cancel publish
|
||||||
_isOk = false;
|
_isOk = false;
|
||||||
_proceed = true;
|
_proceed = true;
|
||||||
|
|||||||
@@ -327,6 +327,8 @@ if (_canBuild select 0) then {
|
|||||||
_counter = 0;
|
_counter = 0;
|
||||||
|
|
||||||
while {_isOk} do {
|
while {_isOk} do {
|
||||||
|
|
||||||
|
format[localize "str_epoch_player_139",_text, (_counter + 1),_limit] call dayz_rollingMessages;
|
||||||
|
|
||||||
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
["Working",0,[100,15,10,0]] call dayz_NutritionSystem;
|
||||||
player playActionNow "Medic";
|
player playActionNow "Medic";
|
||||||
@@ -371,8 +373,6 @@ if (_canBuild select 0) then {
|
|||||||
_counter = _counter + 1;
|
_counter = _counter + 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
format[localize "str_epoch_player_139",_text, _counter,_limit] call dayz_rollingMessages;
|
|
||||||
|
|
||||||
if(_counter == _limit) exitWith {
|
if(_counter == _limit) exitWith {
|
||||||
_isOk = false;
|
_isOk = false;
|
||||||
_proceed = true;
|
_proceed = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user