Compare Two Arrays At the same time?

I want to make AI characters that can find a proper cover considering enemy aim. I used dot product node to compare all covers’ rotation(collision box with an arrow) and enemy pawns’ location in range. It only worked fine when there are two AIs. In order to compare more AIs and covers, I should compare an array of covers and array of AIs. Need your help. Welcome any solution for AI and covers too
By the way, EQS doesn’t seem to work for the situation…