Files
DayZ-Epoch/dayz_code/medical/publicEH/medPainkiller.sqf
vbawol 5b0d2e0f5c test to reset tiredness
+ [ADDED] Reset tiredness when you take painkillers.
+ [ADDED] Reset tiredness when you sleep at a tent.
2013-06-20 08:44:58 -05:00

13 lines
322 B
Plaintext

// animHealed.sqf
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if (_unit == player) then {
r_player_inpain = false;
R3F_TIRED_Accumulator = 0;
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
};
if (isServer) then {
_unit setVariable["medForceUpdate",true];
};