Using Arrays For Hit Events?

I have recently made an Array out of all actors with a specific tag, and was wondering: is it possible to use every actor in this Array as the “Other Actor” for OnComponentHit events?

To be more specific, I have various actors in a level that I want to damage the player when a Hit Event is triggered - I can currently do this by casting to a single blueprint and linking the Hit Event’s “Other Actor” to its “Object” but it seems like it would be much more efficient to do it with a tagging/Array system. Is there any way to do this, or any other method of using tags to interact with Hit Events?

Here’s my solution with Blueprints:
Plug a “For Each Loop” into event Begin Play, with the array you want to get the hits from. From “Array Element” use “Bind Event to OnComponentHit”, and create a new custom event for the “event” of this node.
That’s how you get the hit event from items in an array :slight_smile:

Attached is an example of this method that I’m currently using in my project.