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

@@ -19,7 +19,7 @@ _text = getText (configFile >> "CfgVehicles" >> _objType >> "displayName");
// Silently exit if object no longer exists
if(isNull _obj) exitWith { TradeInprogress = false; };
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
sleep 1;
[player,"tentpack",0,false] call dayz_zombieSpeak;

View File

@@ -15,7 +15,7 @@ _obj = _this;
_ownerID = _obj getVariable["CharacterID","0"];
_objectID = _obj getVariable["ObjectID","0"];
_objectUID = _obj getVariable["ObjectUID","0"];
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [(localize "str_epoch_player_14"), "PLAIN DOWN"];};

View File

@@ -53,6 +53,7 @@ _pos = _obj getVariable["OEMPos",(getposATL _obj)];
if(!isNull _obj and alive _obj) then {
[1,1] call dayz_HungerThirst;
player playActionNow "Medic";
[player,"tentpack",0,false] call dayz_zombieSpeak;
sleep 3;

View File

@@ -9,7 +9,7 @@ if(!isNil "DZE_DYN_UnlockDoorInprogress") exitWith { cutText [(localize "str_epo
DZE_DYN_UnlockDoorInprogress = true;
[1,1] call dayz_HungerThirst;
[10,5] call dayz_HungerThirst;
if(!isNull dayz_selectedDoor) then {

View File

@@ -8,7 +8,7 @@ private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_we
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_21") , "PLAIN DOWN"]; };
TradeInprogress = true;
[1,1] call dayz_HungerThirst;
[5,10] call dayz_HungerThirst;
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
s_player_unlockvault = 1;