mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add files via upload
Remove redundant code. This is done in player_updateGUI.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// animHealed.sqf
|
||||
private["_msg","_isSepsis","_unit","_medic","_display","_control"];
|
||||
disableserialization;
|
||||
//disableserialization;
|
||||
|
||||
_unit = _this select 0;
|
||||
_medic = _this select 1;
|
||||
@@ -23,11 +23,13 @@ if (r_player_blood == r_player_bloodTotal) then {
|
||||
dayz_sourceBleeding = objNull;
|
||||
call fnc_usec_resetWoundPoints;
|
||||
|
||||
/*
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1303;
|
||||
_control ctrlShow false;
|
||||
|
||||
*/
|
||||
|
||||
if (_medic != player) then {
|
||||
_msg = if (_isSepsis) then {"str_actions_medical_sepsisbandage_received"} else {"str_actions_medical_bandage_received"};
|
||||
format [localize _msg,(name _medic)] call dayz_rollingMessages;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
private ["_msg","_unit","_medic","_item"];
|
||||
disableserialization;
|
||||
//disableserialization;
|
||||
|
||||
_unit = _this select 0;
|
||||
_medic = _this select 1;
|
||||
@@ -12,10 +12,12 @@ _unit setHit["hands",0];
|
||||
_unit setVariable ["hit_legs",0,true];
|
||||
_unit setVariable ["hit_hands",0,true];
|
||||
|
||||
/*
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1203;
|
||||
_control ctrlShow false;
|
||||
*/
|
||||
|
||||
if (_medic != player) then {
|
||||
_msg = if (_item == "equip_woodensplint") then {"STR_ITEM_NAME_WOODENSPLINT"} else {"STR_EQUIP_NAME_15"};
|
||||
|
||||
Reference in New Issue
Block a user