A3XAI-Final/A3XAI/compile/A3XAI_getAntistuckTime.sqf
Snark Industries c4a7084754 A3XAI Final Release (April 17, 2016 version)
Releasing previously unreleased version. Completely unsupported with no guarantee of functionality. Use at own risk.
2017-07-19 21:20:00 -04:00

13 lines
364 B
Plaintext

#include "\A3XAI\globaldefines.hpp"
private ["_unitType"];
_unitType = _this;
call {
if (_unitType in ["static","staticcustom","vehiclecrew","aircustom","landcustom"]) exitWith {ANTISTUCK_CHECK_TIME_INFANTRY};
if (_unitType in ["air","uav"]) exitWith {ANTISTUCK_CHECK_TIME_AIR};
if (_unitType in ["land","ugv"]) exitWith {ANTISTUCK_CHECK_TIME_LAND};
300
};