Fixed missing tags.

Vanilla development commit:

ed4ba17a1c
This commit is contained in:
ebaydayz
2016-08-11 19:50:03 -04:00
parent 9aab4ddd03
commit d60600a825

View File

@@ -1,4 +1,4 @@
private ["_target","_targets","_man","_manDis","_localtargets","_remotetargets"];
private ["_agent","_range","_target","_targets","_man","_manDis","_localtargets","_remotetargets"];
_agent = _this;
if (isNull _agent) exitWith {objNull}; // Prevent errors if zombie is suddenly deleted
_target = objNull;
@@ -25,6 +25,7 @@ _targets = _localtargets + _remotetargets;
//Search for objects
if (count _targets == 0) then {
//"ThrownObjects","GrenadeHandTimedWest","SmokeShell"]
private["_objects"];
_objects = _agent nearObjects ["GrenadeHand", 300];
{
if (!(_x in _targets)) then {