mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 02:16:29 +03:00
Prevent Zed + loot spawn in safezones
thanks BaroN for the idea
This commit is contained in:
@@ -17,7 +17,7 @@ while {_counter < _amount} do {
|
||||
_method = "CAN_COLLIDE";
|
||||
|
||||
_position = [getMarkerPos "center",1,6500,1] call fn_selectRandomLocation;
|
||||
|
||||
if(_position call DZE_SafeZonePosCheck) exitWith {};
|
||||
//Create Zed
|
||||
_agent = createAgent [_type, _position, [], 1, _method];
|
||||
//Set Random Direction
|
||||
|
||||
Reference in New Issue
Block a user