2016-11-14 19:04:10 +00:00
|
|
|
// pull trader cities from config
|
2017-01-23 01:07:52 +00:00
|
|
|
private _traderCites = allMapMarkers;
|
2016-11-14 19:04:10 +00:00
|
|
|
_tc = [];
|
|
|
|
{
|
|
|
|
if (getMarkerType _x isEqualTo "ExileTraderZone" && blck_blacklistTraderCities) then {
|
|
|
|
blck_locationBlackList pushback [(getMarkerPos _x),1000];
|
|
|
|
if (blck_debugON) then {diag_log format["[blckeagls] _fnc_getExileLocations :: -- >> Added Exile Trader location at %1", (getMarkerPos _x)];};
|
|
|
|
};
|
|
|
|
|
|
|
|
if ((getMarkerType _x isEqualTo "ExileSpawnZone") && blck_blacklistSpawns) then {
|
|
|
|
blck_locationBlackList pushback [(getMarkerPos _x),1000];
|
|
|
|
if (blck_debugON) then {diag_log format["[blckeagls] _fnc_getExileLocations :: -- >> Added Exile Spawn location at %1", (getMarkerPos _x)];};
|
|
|
|
};
|
|
|
|
//
|
|
|
|
if (getMarkerType _x isEqualTo "ExileConcreteMixerZone" && blcklistConcreteMixerZones) then {
|
|
|
|
blck_locationBlackList pushback [(getMarkerPos _x),1000];
|
|
|
|
if (blck_debugON) then {diag_log format["[blckeagls] _fnc_getExileLocations :: -- >> Added Exile Concrete Mixer location at %1", (getMarkerPos _x)];};
|
|
|
|
};
|
|
|
|
}forEach _traderCites;
|