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,19 +1,15 @@
// bleed.sqf
private ["_unit","_isDead","_isCardiac"];
_unit = (_this select 3);
private["_unit","_isDead","_isCardiac"];
_unit = _this select 3;
_isDead = _unit getVariable["USEC_isDead",false];
_isCardiac = _unit getVariable["USEC_isCardiac",false];
uiSleep 1;
if (_isDead) then {
TitleText[(localize "str_epoch_player_3"),"PLAIN DOWN",3];
cutText [localize "str_pulse_extremely_weak","PLAIN DOWN"];
} else {
if (_isCardiac) then {
TitleText[(localize "str_epoch_player_4"),"PLAIN DOWN",3];
cutText [localize "str_pulse_weak","PLAIN DOWN"];
} else {
TitleText[(localize "str_epoch_player_5"),"PLAIN DOWN",3];
cutText [localize "str_pulse_strong","PLAIN DOWN"];
};
};
//r_action = false;