mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
22
SQF/dayz_code/medical/publicEH/medBandaged.sqf
Normal file
22
SQF/dayz_code/medical/publicEH/medBandaged.sqf
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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) 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;
|
||||
};
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
};
|
||||
Reference in New Issue
Block a user