2016-11-14 19:04:10 +00:00
// pull trader cities from config
if !(blck_blacklistTraderCities) exitWith {};
diag_log format["[blckeagls] Adding Trader Cities to blacklisted locations based on setting for blck_blacklistTraderCities = %1",blck_blacklistTraderCities];
2017-01-23 01:07:52 +00:00
private _traderCites = allMapMarkers;
2016-11-14 19:04:10 +00:00
{
if (_x in ["center","respawn_east","respawn_west","respawn_north"] && blck_blacklistTraderCities) then
{
blck_locationBlackList pushback [getMarkerPos _x,1000];
2016-11-17 11:54:52 +00:00
//if (blck_debugON) then {diag_log format["[blckeagls] _fnc_getTraderCitiesEpoch:: -- >> Added epoch trader city location at %1", (getMarkerPos _x)];};
2016-11-14 19:04:10 +00:00
};
2016-11-17 11:54:52 +00:00
}forEach _traderCites;