Skip to content

Commit

Permalink
Change Range a bit
Browse files Browse the repository at this point in the history
Got a issue with a person where build a large camo net on a tower in devels carstel
  • Loading branch information
Skaronator committed Feb 13, 2014
1 parent 4100fc4 commit 38470b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQF/dayz_code/compile/object_removeNet.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 38470b1

Please sign in to comment.