mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
couple errors
This commit is contained in:
parent
3b75fd1a26
commit
a7d4cfd2ca
@ -95,7 +95,13 @@ for "_attempts" from 1 to MAX_ATTEMPTS do
|
|||||||
|
|
||||||
_isValidSpot = [_pos, _waterNearLimit, _minSurfaceNormal, _spawnZoneNearLimit, _traderZoneNearLimit, _missionNearLimit, _playerNearLimit, _territoryNearLimit] call DMS_fnc_IsValidPosition;
|
_isValidSpot = [_pos, _waterNearLimit, _minSurfaceNormal, _spawnZoneNearLimit, _traderZoneNearLimit, _missionNearLimit, _playerNearLimit, _territoryNearLimit] call DMS_fnc_IsValidPosition;
|
||||||
|
|
||||||
if (_isValidSpot) exitWith {};
|
if (_isValidSpot) exitWith
|
||||||
|
{
|
||||||
|
if (DMS_DEBUG) then
|
||||||
|
{
|
||||||
|
(format["FindSafePos :: Found mission position %1 in %2 attempts. _this: %3",_pos,_attempts,_this]) call DMS_fnc_DebugLog;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
if !(_isValidSpot) exitWith
|
if !(_isValidSpot) exitWith
|
||||||
@ -106,10 +112,4 @@ if !(_isValidSpot) exitWith
|
|||||||
_pos set [2,0];
|
_pos set [2,0];
|
||||||
|
|
||||||
|
|
||||||
if (DMS_DEBUG) then
|
|
||||||
{
|
|
||||||
(format["FindSafePos :: Found mission position %1 in %2 attempts. _this: %3",_pos,_attempts,_this]) call DMS_fnc_DebugLog;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
_pos;
|
_pos;
|
||||||
|
@ -424,7 +424,7 @@ _unit setVariable
|
|||||||
_unit setVariable
|
_unit setVariable
|
||||||
[
|
[
|
||||||
"DMS_AI_Respect",
|
"DMS_AI_Respect",
|
||||||
missionNamespace getVariable [format ["DMS_%1_%2_RepGain",_AISide,_AIType],0]
|
missionNamespace getVariable [format ["DMS_%1_%2_RepGain",_side,_type],0]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user