mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Add DZE_requirePlotOverride to override if objects need no plot pole
Made by @Victor-the-Cleaner
This commit is contained in:
@@ -44,6 +44,8 @@ local _message = ""; // for blacklisted zones and buildings
|
||||
if (isNumber (configFile >> "CfgVehicles" >> _classname >> "requireplot")) then {
|
||||
_requireplot = getNumber(configFile >> "CfgVehicles" >> _classname >> "requireplot");
|
||||
};
|
||||
if (_classname in DZE_requirePlotOverride) then {_requireplot = 1;};
|
||||
|
||||
local _plotcheck = [player, _isPole] call FNC_find_plots;
|
||||
local _distance = _plotcheck select 0;
|
||||
local _isNearPlot = _plotcheck select 1;
|
||||
|
||||
Reference in New Issue
Block a user