mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Update change log
This commit is contained in:
@@ -598,8 +598,8 @@ if (!isDedicated) then {
|
||||
death_3 = "";
|
||||
death_4 = "";
|
||||
};
|
||||
|
||||
death_1 = format["<t size='.8' align='left' color='#a81e13'>%1 </t><img align='left' image='%2'/><t size='.8' align='left' color='#3FB07D'> %3 (%4m)</t>",_playerName,_icon,_sourceName,_distance];
|
||||
//Weapon images point left in A2
|
||||
death_1 = format["<t size='.6' align='left' color='#ffffff'>%1 </t><img size='.8' align='left' image='%2'/><t size='.6' align='left' color='#ffffff'> %3 (%4m)</t>",_playerName,_icon,_sourceName,_distance];
|
||||
death_1_time = diag_ticktime;
|
||||
|
||||
//Prevent covering vehicle health bar HUD
|
||||
|
||||
@@ -92,14 +92,12 @@ if (!isNil "_magazines") then {
|
||||
//Check if update is requested
|
||||
if !((_charPos select 0 == 0) && (_charPos select 1 == 0)) then {
|
||||
//Position is not zero
|
||||
//diag_log ("getting position..."); sleep 0.05;
|
||||
_playerPos = [round (direction _character),_charPos];
|
||||
if (count _lastPos > 2 && {_charPosLen > 2}) then {
|
||||
if (!_isInVehicle) then {_distanceFoot = round (_charPos distance _lastPos);};
|
||||
_character setVariable["lastPos",_charPos];
|
||||
};
|
||||
if (_charPosLen < 3) then {_playerPos = [];};
|
||||
//diag_log ("position = " + str(_playerPos)); sleep 0.05;
|
||||
};
|
||||
_character setVariable ["posForceUpdate",false,true];
|
||||
|
||||
@@ -108,9 +106,7 @@ _backpack = unitBackpack _character;
|
||||
_playerBackp = [typeOf _backpack,getWeaponCargo _backpack,getMagazineCargo _backpack];
|
||||
|
||||
if (!_usec_Dead) then {
|
||||
//diag_log ("medical check..."); sleep 0.05;
|
||||
_medical = _character call player_sumMedical;
|
||||
//diag_log ("medical result..." + str(_medical)); sleep 0.05;
|
||||
};
|
||||
_character setVariable ["medForceUpdate",false,true];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user