mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
19 lines
624 B
Plaintext
19 lines
624 B
Plaintext
// animHealed.sqf
|
|
private["_array","_unit","_medic","_display","_control"];
|
|
disableserialization;
|
|
_array = _this; //_this select 0;
|
|
_unit = _array select 0;
|
|
_medic = _array select 1;
|
|
|
|
if ((_unit == player) or (vehicle player != player)) then {
|
|
r_player_injured = false;
|
|
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit 5;
|
|
r_player_handler = false;
|
|
if (r_player_blood == r_player_bloodTotal) then {
|
|
player setVariable["USEC_lowBlood",false,true];
|
|
};
|
|
//Ensure Control is visible
|
|
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
|
_control = _display displayCtrl 1303;
|
|
_control ctrlShow false;
|
|
}; |