blckeagles-revisited-RC/@epochhive/addons/custom_server/Compiles/Functions/getTraderCitesExile.sqf
Ghostrider-DbD- fb9284e3fb Version 6.44
Removed definitions of blacklisted areas from GMS_fnc_findWorld and
added this to the mod-specific config.
Added Apex weapons, uniforms, helmets/headgear, optics, weapons, etc.
Added scripts to automatically pull locations of traders and spawns from
the mission.sqm.
see changelog.sqf for details.
2016-11-14 14:04:10 -05:00

19 lines
1011 B
Plaintext

// pull trader cities from config
_traderCites = allMapMarkers;
_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;