mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-05-15 07:03:21 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -9,14 +9,16 @@ if (local _unit) then {_unit setCaptive false};
|
||||
|
||||
if (!_isDead) then {
|
||||
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
||||
_unit setVariable ["NORRN_unconscious", false, true];
|
||||
_unit setVariable ["USEC_isCardiac",false,true];
|
||||
//no need to public broadcast the variables since this runs on every peer
|
||||
_unit setVariable ["NORRN_unconscious", false, false];
|
||||
_unit setVariable ["USEC_isCardiac",false, false];
|
||||
if (_unit == player) then {
|
||||
r_player_unconscious = false;
|
||||
disableUserInput false;
|
||||
r_player_cardiac = false;
|
||||
r_player_handler1 = false;
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
|
||||
@@ -18,8 +18,8 @@ if (_unit == player) then {
|
||||
|
||||
_id = false spawn dayz_disableRespawn;
|
||||
};
|
||||
_unit setVariable ["hit_legs",0];
|
||||
_unit setVariable ["hit_hands",0];
|
||||
_unit setVariable ["hit_legs",0,false];
|
||||
_unit setVariable ["hit_hands",0,false];
|
||||
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
|
||||
@@ -5,6 +5,9 @@ _array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
_rndInfection = (random 15);
|
||||
_TransfusionInfection = (_rndInfection < 1);
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_blood = r_player_bloodTotal;
|
||||
r_player_lowblood = false;
|
||||
@@ -12,6 +15,11 @@ if (_unit == player) then {
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
||||
"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 1], [1, 1, 1, 1]];"colorCorrections" ppEffectCommit 5;
|
||||
|
||||
if (_TransfusionInfection) then {
|
||||
r_player_infected = true;
|
||||
player setVariable["USEC_infected",true];
|
||||
};
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1300;
|
||||
|
||||
Reference in New Issue
Block a user