From 7aac2b2787aa8474c09430ede2c9fd7d853ee5ce Mon Sep 17 00:00:00 2001 From: Chris Cardozo Date: Mon, 2 Mar 2020 14:26:38 -0500 Subject: [PATCH] Update GMS_UMS_fnc_findShoreLocation.sqf fixed issues on tanoa with UMS mission spawn sites --- .../Compiles/Functions/GMS_UMS_fnc_findShoreLocation.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_UMS_fnc_findShoreLocation.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_UMS_fnc_findShoreLocation.sqf index 1297ea8..057a006 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_UMS_fnc_findShoreLocation.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_UMS_fnc_findShoreLocation.sqf @@ -16,6 +16,7 @@ switch (toLower worldName) do case "altis": {_mapCenter = [15000,19000,0];_maxDistance = 20000}; case "tanoa": {_mapCenter = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");_maxDistance = 10000}; case "malden": {_mapCenter = [6000,7000,0];_maxDistance = 5500}; + case "stratis": {_mapCenter = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");_maxDistance = 5000}; case "namalsk": {_mapCenter = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");_maxDistance = 5000}; case "taviana": {_mapCenter = [12000,12000,0];_maxDistance = 12000}; case "napf" : {_mapCenter = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");_maxDistance = 12000}; @@ -29,7 +30,7 @@ _evaluate = true; _waterPos = [ _mapCenter, // center of search area 2, // min distance to search - 20000, // max distance to search + _maxDistance, // max distance to search 0, // distance to nearest object 2, // water mode [2 = water only] 25, // max gradient