Unreal Engine

Simple, lightweight, 100% Blueprint targeting system suitable for any game type. Get started in under 10 minutes simply by adding a couple of components to your character/enemies

Easily add targeting functionality to your character, simply by attaching the TargetingComponent. Set targetable actors by attaching the TargetComponent.
Customizable targeting methods (Front box, Capsule)
Targeting prioritization based on distance or custom weight.
Event callbacks on targets when targeted/de-targeted.
Provides a basic targeting functionality and it is designed to be extensible.
Set max targets to capture
Toggle targetable/detargetable option on the target actors at runtime (i.e. when an enemy becomes invisible)

Unreal Marketplace link: Targetize