Finish Medical and Sleep to UiSleep

This commit is contained in:
icomrade
2016-03-05 22:34:09 -05:00
parent eadb3566c4
commit 68da397c52
87 changed files with 1320 additions and 1056 deletions

View File

@@ -1,20 +1,22 @@
// animHealed.sqf
private ["_array","_unit","_medic","_display","_control","_id"];
private ["_array","_unit","_medic","_display","_control"];
disableserialization;
_array = _this; //_this select 0;
_unit = _array select 0;
_medic = _array select 1;
if ((_unit == player) || (vehicle player != player)) then {
if ((_unit == player) or (vehicle player != player)) then {
r_fracture_legs = false;
r_fracture_arms = false;
_unit setHit["legs",0];
_unit setHit["hands",0];
//Ensure Control is visible
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1203;
_control = _display displayCtrl 1203;
_control ctrlShow false;
// _id = false spawn dayz_disableRespawn;
};
//_id = false spawn dayz_disableRespawn;
};
_unit setVariable ["hit_legs",0,true];
_unit setVariable ["hit_hands",0,true];