#919 modify global var into array

This commit is contained in:
HARLAN
2013-12-16 13:06:32 -05:00
parent 40f8a0c9a0
commit ad17aa07af

View File

@@ -11,7 +11,7 @@ s_player_maintain_area_preview = 1;
_target = cursorTarget; // Plastic_Pole_EP1_DZ
_objectClasses = ["ModularItems", "DZE_Housebase"] + DZE_ExtraMaintain;
_range = 50; // set the max range for the maintain area
_range = ((DZE_PlotPole this select 0)+20); // set the max range for the maintain area
_objects = nearestObjects [_target, _objectClasses, _range];
//filter to only those that have 10% damage