0.69 + 1.7.5.M1D15

This commit is contained in:
vbawol
2013-01-18 12:25:49 -06:00
parent 662d62d781
commit 4cab61bf63
81 changed files with 1061 additions and 532 deletions

View File

@@ -3,6 +3,9 @@ _unit = (_this select 3) select 0;
_lowBlood = _unit getVariable ["USEC_lowBlood", false];
_injured = _unit getVariable ["USEC_injured", false];
_inPain = _unit getVariable ["USEC_inPain", false];
_lastused = _unit getVariable ["LastTransfusion", time];
if (_lastused - time < 600) exitwith {cutText [format[(localize "str_actions_medical_18"),_text] , "PLAIN DOWN"]};
call fnc_usec_medic_removeActions;
r_action = false;
@@ -35,12 +38,12 @@ while {r_doLoop} do {
r_doLoop = false;
if (_finished) then {
_unit setVariable["LastTransfusion",time,true];
_unit setVariable["USEC_lowBlood",false,true];
player removeMagazine "ItemBloodbag";
usecTransfuse = [_unit,player];
publicVariable "usecTransfuse";
dayzHumanity = [player,250];
_id = dayzHumanity spawn player_humanityChange;
["usecTransfuse",[_unit,player]] call broadcastRpcCallAll;
["dayzHumanity",[player,250]] call dayzHumanity_code;
} else {
r_interrupt = false;
player switchMove "";