mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Merge pull request #920 from dayz10k/master
#919 override plotpole variables
This commit is contained in:
@@ -117,11 +117,11 @@ if((count _offset) <= 0) then {
|
||||
_isPole = (_classname == "Plastic_Pole_EP1_DZ");
|
||||
_isLandFireDZ = (_classname == "Land_Fire_DZ");
|
||||
|
||||
_distance = 30;
|
||||
_distance = DZE_plotRadius;
|
||||
_needText = localize "str_epoch_player_246";
|
||||
|
||||
if(_isPole) then {
|
||||
_distance = 60;
|
||||
_distance = DZE_plotDistance;
|
||||
};
|
||||
|
||||
// check for near plot
|
||||
|
||||
@@ -665,6 +665,12 @@ if(!isDedicated) then {
|
||||
if(isNil "DZE_requireplot") then {
|
||||
DZE_requireplot = 1;
|
||||
};
|
||||
if(isNil "DZE_plotRadius") then {
|
||||
DZE_plotRadius = 30;
|
||||
};
|
||||
if(isNil "DZE_plotDistance") then {
|
||||
DZE_plotDistance = 60;
|
||||
};
|
||||
|
||||
|
||||
DZE_AntiWallCounter = 0;
|
||||
|
||||
Reference in New Issue
Block a user