mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 03:16:27 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -21,7 +21,7 @@ _bagFound = false;
|
||||
_forceClose = false;
|
||||
|
||||
//End if the player does not have a transfusion kit
|
||||
//if (!_hasTransfusionKit) exitWith { cutText [localize "str_actions_medical_transfusion_failed_transfusionkit", "PLAIN DOWN"]; };
|
||||
//if (!_hasTransfusionKit) exitWith { localize "str_actions_medical_transfusion_failed_transfusionkit" call dayz_rollingMessages; };
|
||||
|
||||
//Unconscious timeout for receving unit
|
||||
_duration = if (_blood <= 4000) then { 3 } else { 2 };
|
||||
@@ -128,7 +128,7 @@ while {r_doLoop} do {
|
||||
};
|
||||
};
|
||||
if (!_bagFound) then {_forceClose = true;} else { player removeMagazine _bagToRemove;};
|
||||
cutText [localize "str_actions_medical_transfusion_start", "PLAIN DOWN"];
|
||||
localize "str_actions_medical_transfusion_start" call dayz_rollingMessages;
|
||||
//see Note 1
|
||||
//[player,_unit,"loc",rTITLETEXT,format["Transfusion of %1 in progress, remain still...",_bagToRemove],"PLAIN DOWN"] call RE;
|
||||
_started = true;
|
||||
@@ -175,7 +175,7 @@ while {r_doLoop} do {
|
||||
};
|
||||
};
|
||||
|
||||
cutText [localize "str_actions_medical_transfusion_start", "PLAIN DOWN"];
|
||||
localize "str_actions_medical_transfusion_start" call dayz_rollingMessages;
|
||||
//see Note 1
|
||||
//[player,_unit,"loc",rTITLETEXT,format["Transfusion of %1 in progress, remain still...",_bagToRemove],"PLAIN DOWN"] call RE;
|
||||
|
||||
@@ -189,7 +189,7 @@ while {r_doLoop} do {
|
||||
|
||||
if (_blood >= r_player_bloodTotal or _bloodAmount == 0) then {
|
||||
diag_log format ["TRANSFUSION: completed blood transfusion successfully (_i = %1)", _i];
|
||||
cutText [localize "str_actions_medical_transfusion_successful", "PLAIN DOWN"];
|
||||
localize "str_actions_medical_transfusion_successful" call dayz_rollingMessages;
|
||||
//see Note 1
|
||||
//[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_successful","PLAIN DOWN"] call RE;
|
||||
if (!_badBag and _bagFound) then { [player,_humanityAwarded] call player_humanityChange; };
|
||||
@@ -200,7 +200,7 @@ while {r_doLoop} do {
|
||||
|
||||
if (r_interrupt or !_isClose or _forceClose) then {
|
||||
diag_log format ["TRANSFUSION: transfusion was interrupted (r_interrupt: %1 | distance: %2 (%3) | _i = %4)", r_interrupt, player distance _unit, _isClose, _i];
|
||||
cutText [localize "str_actions_medical_transfusion_interrupted", "PLAIN DOWN"];
|
||||
localize "str_actions_medical_transfusion_interrupted" call dayz_rollingMessages;
|
||||
//see Note 1
|
||||
//[player,_unit,"loc",rTITLETEXT,localize "str_actions_medical_transfusion_interrupted","PLAIN DOWN"] call RE;
|
||||
r_doLoop = false;
|
||||
|
||||
Reference in New Issue
Block a user