Change Range a bit

Got a issue with a person where build a large camo net on a tower in devels carstel
This commit is contained in:
Skaronator
2014-02-13 01:03:13 +01:00
parent 4100fc46f6
commit 38470b1bdf

View File

@@ -3,7 +3,7 @@ private ["_nearNets","_nearNet"];
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
_nearNets = nearestObjects [player, ["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 3];
_nearNets = nearestObjects [player, ["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 5];
_nearNet = _nearNets select 0;
if (!isNull _nearNet and _canDo) then {