Merge pull request #920 from dayz10k/master

#919 override plotpole variables
This commit is contained in:
HARLAN
2013-12-16 07:52:16 -08:00
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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;