Code:
16:47:02 Error in expression <Statements = if ((_max_dist >= 100) && {_searchLoot}) then {"if ((random 3) > 2)>
16:47:02 Error position: <_searchLoot}) then {"if ((random 3) > 2)>
16:47:02 Error Undefined variable in expression: _searchloot
16:47:02 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 60
16:47:02 Error in expression <ariable ["unitType",""];
_allowWater = (_unitType == "aircustom");
_searchLoot =>
16:47:02 Error position: <_unitType == "aircustom");
_searchLoot =>
16:47:02 Error Undefined variable in expression: _unittype
16:47:02 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 52
16:47:07 Error in expression <t 0);
_b = 0 + (_wp_pos select 1);
if (_searchLoot) then {
_bldgpos = [];
_b>
16:47:07 Error position: <_searchLoot) then {
_bldgpos = [];
_b>
16:47:07 Error Undefined variable in expression: _searchloot
16:47:07 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 112
16:47:07 Error in expression <max_dist / 5.5;
_completionRadius = if (_isVehicle) then {(5 + _slack) max 75} e>
16:47:07 Error position: <_isVehicle) then {(5 + _slack) max 75} e>
16:47:07 Error Undefined variable in expression: _isvehicle
16:47:07 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 74
16:47:10 Error in expression <t 0);
_b = 0 + (_wp_pos select 1);
if (_searchLoot) then {
_bldgpos = [];
_b>
16:47:10 Error position: <_searchLoot) then {
_bldgpos = [];
_b>
16:47:10 Error Undefined variable in expression: _searchloot
16:47:10 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 112
16:47:14 Error in expression <t 0);
_b = 0 + (_wp_pos select 1);
if (_searchLoot) then {
_bldgpos = [];
_b>
16:47:14 Error position: <_searchLoot) then {
_bldgpos = [];
_b>
16:47:14 Error Undefined variable in expression: _searchloot
16:47:14 File z\addons\dayz_server\DZAI\compile\BIN_taskPatrol.sqf, line 112
Any ideas on how to fix these please?