// marks enemy helos with a black dot on the map
_unit = _this select 0;
_leader = gunner _unit;
_group = group _leader;
_unitm = format ["%1", _unit];
_markerobj = createMarker[_unitm,[getpos _unit select 0,getpos _unit select 1]];
_markerobj setMarkerType  "Mil_Dot";
_markerobj setMarkerColor "ColorBlack";
_markerobj setMarkerText localize "STR_M04t44";

for [{_loop=0}, {_loop<1}, {_loop=_loop}] do
{
	if (not (canmove _unit) or not (alive _unit))exitwith {deleteMarker _markerobj};
	_markerobj setMarkerColor "ColorRed";
	_markerobj setMarkerPos [getpos _unit select 0,getpos _unit select 1];
	sleep 1.0;
	_markerobj setMarkerColor "ColorBlack";
	sleep 1.0;
};
