mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 14:03:29 +00:00
Added safezone
This commit is contained in:
@@ -62,10 +62,10 @@ for "_id" from 0 to (count _locations - 1) do {
|
||||
|
||||
if (btc_city_blacklist find _name >= 0) exitWith {};
|
||||
|
||||
/*
|
||||
|
||||
//if you want a safe area
|
||||
if ((getMarkerPos "YOUR_MARKER_AREA") inArea [_position, 500, 500, 0, false]) exitWith {};
|
||||
*/
|
||||
if ((getMarkerPos "btc_base") inArea [_position, 1000, 1000, 0, false]) exitWith {};
|
||||
|
||||
|
||||
[_position, _type, _name, _cachingRadius, false, _id] call btc_city_fnc_create;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user