Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
fixed group hunt
Browse files Browse the repository at this point in the history
  • Loading branch information
James Kingsley committed Mar 7, 2016
1 parent 4323000 commit 25566dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Addons/ares_zeusExtensions/scripts/ARC_huntNearestPlayer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@
private _group = group _unitUnderCursor;
private _aggroDistance = _this select 1;
private _updateDelay = _this select 2;
private _useUnits = [];

{
[_x] joinSilent grpNull;
_useUnits pushBack _x;
} forEach units _group;

while {true} do {
{
Expand Down Expand Up @@ -153,7 +159,7 @@
_unit doMove _targetPos;
};
};
} forEach units _group;
} forEach _useUnits;

sleep _updateDelay;
};
Expand Down

0 comments on commit 25566dd

Please sign in to comment.