blckeagles-revisited-RC/@epochhive/addons/custom_server/Compiles/Functions/getTraderCitesEpoch.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

13 lines
617 B
Plaintext

// 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];
_traderCites = allMapMarkers;
{
if (_x in ["center","respawn_east","respawn_west","respawn_north"] && blck_blacklistTraderCities) then
{
blck_locationBlackList pushback [getMarkerPos _x,1000];
if (blck_debugON) then {diag_log format["[blckeagls] _fnc_getTraderCitiesEpoch:: -- >> Added epoch trader city location at %1", (getMarkerPos _x)];};
};
}forEach _traderCites;