mirror of
https://github.com/SnarkIndustries/A3XAI-Final.git
synced 2024-08-30 17:22:13 +00:00
Releasing previously unreleased version. Completely unsupported with no guarantee of functionality. Use at own risk.
13 lines
364 B
Plaintext
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
|
|
};
|