mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Add new combat function
This commit is contained in:
@@ -9,7 +9,7 @@ sched_playerActions = {
|
||||
};
|
||||
|
||||
//combat check
|
||||
if ((player getVariable ["combattimeout",0] < diag_tickTime) && {player getVariable ["inCombat",false]}) then {
|
||||
if ((player getVariable ["combattimeout",0] < diag_tickTime) && {player getVariable ["inCombat",false]} && {player getVariable["startcombattimer", 0] == 0}) then {
|
||||
player setVariable ["inCombat", false, true];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user