mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
18 lines
364 B
Plaintext
18 lines
364 B
Plaintext
#include "scheduler.hpp"
|
|
|
|
sched_playerActions = {
|
|
HIDE_FSM_VARS
|
|
|
|
if (!dayz_actionInProgress) then {
|
|
call fnc_usec_selfActions;
|
|
call fnc_usec_damageActions;
|
|
};
|
|
|
|
//combat check
|
|
if ((player getVariable ["combattimeout",0] < diag_tickTime) && {player getVariable ["inCombat",false]}) then {
|
|
player setVariable ["inCombat", false, true];
|
|
};
|
|
|
|
objNull
|
|
};
|