Files
DayZ-Epoch/SQF/dayz_code/system/scheduler/sched_playerActions.sqf
2017-01-29 19:36:48 -05:00

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
};