Update GMS_UMS_fnc_findShoreLocation.sqf

fixed issues on tanoa with UMS mission spawn sites
This commit is contained in:
Chris Cardozo 2020-03-02 14:26:38 -05:00
parent aef6275796
commit 7aac2b2787

View File

@ -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