mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-16 01:14:59 +03:00
Update combat handling
- Remove startcombattimer variable - Add combatNoTimeout variable to handle a combat without a time limit
This commit is contained in:
@@ -177,12 +177,6 @@ disableUserInput true;
|
||||
if (dayz_soundMuted) then {call player_toggleSoundMute;}; // hide icon before fadeSound
|
||||
0.1 fadeSound 0;
|
||||
|
||||
_body setVariable ["NORRN_unconscious", false, true];
|
||||
_body setVariable ["unconsciousTime", 0, true];
|
||||
_body setVariable ["USEC_isCardiac",false,true];
|
||||
_body setVariable ["bloodTaken", false, true];
|
||||
_body setVariable ["startcombattimer", 0]; //remove combat timer on death
|
||||
_body setVariable ["inCombat", false, true];
|
||||
r_player_unconscious = false;
|
||||
r_player_cardiac = false;
|
||||
dayz_autoRun = false;
|
||||
@@ -212,8 +206,6 @@ deleteGroup _myGroup;
|
||||
3 cutRsc ["default", "PLAIN",3];
|
||||
4 cutRsc ["default", "PLAIN",3];
|
||||
|
||||
_body setVariable["combattimeout", 0, true];
|
||||
|
||||
_animState = toLower (animationState _body);
|
||||
_animStateArray = toArray _animState;
|
||||
_animCheck = toString ([(_animStateArray select 0),(_animStateArray select 1),(_animStateArray select 2),(_animStateArray select 3)]);
|
||||
|
||||
Reference in New Issue
Block a user