mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Disable TownGenerator and plant spawner by default
Junk and plant spawning is disabled by default. It can be enabled via dayz_townGenerator config variable and positions blacklist (for trader cities, etc.). The trader objects spawn code was consolidated to functions.
This commit is contained in:
@@ -376,7 +376,7 @@ if (_hiveLoaded) then {
|
||||
};
|
||||
};
|
||||
|
||||
if (EpochUseEvents) then {[] spawn server_spawnEvents;};
|
||||
[] spawn server_spawnEvents;
|
||||
_debugMarkerPosition = getMarkerPos "respawn_west";
|
||||
_debugMarkerPosition = [(_debugMarkerPosition select 0),(_debugMarkerPosition select 1),1];
|
||||
_vehicle_0 = createVehicle ["DebugBox_DZ", _debugMarkerPosition, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
Reference in New Issue
Block a user