mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
@@ -11,7 +11,7 @@ s_player_maintain_area_preview = 1;
|
||||
|
||||
_target = cursorTarget; // Plastic_Pole_EP1_DZ
|
||||
_objectClasses = ["ModularItems", "DZE_Housebase"] + DZE_ExtraMaintain;
|
||||
_range = ((DZE_PlotPole this select 0)+20); // set the max range for the maintain area
|
||||
_range = ((DZE_PlotPole select 0)+20); // set the max range for the maintain area
|
||||
_objects = nearestObjects [_target, _objectClasses, _range];
|
||||
|
||||
//filter to only those that have 10% damage
|
||||
|
||||
@@ -117,7 +117,7 @@ if((count _offset) <= 0) then {
|
||||
_isPole = (_classname == "Plastic_Pole_EP1_DZ");
|
||||
_isLandFireDZ = (_classname == "Land_Fire_DZ");
|
||||
|
||||
_distance = DZE_PlotPole this select 0;
|
||||
_distance = DZE_PlotPole select 0;
|
||||
_needText = localize "str_epoch_player_246";
|
||||
|
||||
if(_isPole) then {
|
||||
|
||||
@@ -7,7 +7,7 @@ _nearPlotPole = nearestObject [player, "Plastic_Pole_EP1_DZ", 3];
|
||||
|
||||
|
||||
//"privatized" center variable
|
||||
_BD_radius = DZE_PlotPole this select 0;
|
||||
_BD_radius = DZE_PlotPole select 0;
|
||||
_BD_center = getPos _nearPlotPole;
|
||||
|
||||
_objects = [];
|
||||
|
||||
Reference in New Issue
Block a user