blckeagles-revisited-RC/@epochhive/addons/custom_server/Compiles/Functions/getTraderCitesEpoch.sqf
Ghostrider-DbD- 1afdc37b3b Build 15
Fixed issue wherein fnc_missionSpawner would hang if fnc_spawnGroup
returned a NULL-GROUP
This occured when the server had reached the max number of groups.
The fix was to periodically deleted empty groups (see fnc_mainThread).
this is probably a bug on Epoch only as Exile includes a check to delete
empty gorups in the server fsm.

Worked on the code to check for flags/plot poles but this stil needs
more  work.

worked on code to send notifications when a player trips an IED but this
needs more work.

Other minor bug-fixes
2016-11-17 06:54:52 -05:00

14 lines
620 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;