Retro DOOM style vertical aiming

An option could be: have a cone shaped component that picks up and drops overlapping actors in auto-aim range. Check them from closest to farthest, then go through that list until you get to one that’s within the center range of the screen, and finally check for line of sight.