mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-19 10:46:40 +03:00
0.1
This commit is contained in:
24
dayz_code/medical/publicEH/medTransfuse.sqf
Normal file
24
dayz_code/medical/publicEH/medTransfuse.sqf
Normal file
@@ -0,0 +1,24 @@
|
||||
// animHealed.sqf
|
||||
private["_array","_unit","_medic","_display","_control","_lowBlood"];
|
||||
disableserialization;
|
||||
_array = _this; //_this select 0;
|
||||
_unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_player_blood = r_player_bloodTotal;
|
||||
r_player_lowblood = false;
|
||||
10 fadeSound 1;
|
||||
"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;
|
||||
|
||||
//Ensure Control is visible
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1300;
|
||||
_control ctrlShow true;
|
||||
|
||||
player setVariable["USEC_BloodQty",r_player_bloodTotal,true];
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
Reference in New Issue
Block a user