added thirst and hunger loss to all medic animation

This commit is contained in:
[VB]AWOL
2013-11-26 16:08:10 -06:00
parent 80f65f8ae8
commit 84874daa18
44 changed files with 44 additions and 17 deletions

View File

@@ -7,6 +7,7 @@ player removeMagazine "ItemBandage";
call fnc_usec_medic_removeActions;
r_action = false;
[1,1] call dayz_HungerThirst;
if (vehicle player == player) then {
//not in a vehicle

View File

@@ -4,7 +4,7 @@ private ["_unit","_isDead"];
_unit = (_this select 3) select 0;
_isDead = _unit getVariable["USEC_isDead",false];
call fnc_usec_medic_removeActions;
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
player removeMagazine "ItemEpinephrine";

View File

@@ -8,7 +8,7 @@ _unit setVariable ["hit_hands",0];
call fnc_usec_medic_removeActions;
r_action = false;
[1,1] call dayz_HungerThirst;
if (vehicle player == player) then {
//not in a vehicle
player playActionNow "Medic";

View File

@@ -10,7 +10,7 @@ _lastused = _unit getVariable ["LastTransfusion", time];
call fnc_usec_medic_removeActions;
r_action = false;
[1,1] call dayz_HungerThirst;
if (vehicle player == player) then {
//not in a vehicle
player playActionNow "Medic";