Download

Affecting only the overlapping enemies

When you melee attack I want to check to see if any BP_EnemyGrunt types are overlapping with the box on your character. If so, I want to only effect these enemies (or the first one it finds that’s overlapping). At the moment though, I’m only checking the first one but don’t know how to expand on this. I assume it’s something to do with an array and cycling through the possible enemies but have tried many avenues to no avail. Thanks for the help in advance!

“get all overlapping actors” node -> “for each loop” node

heres a pic of someone else’s setup
https://answers.unrealengine.com/questions/209546/get-overlapping-actors-dont-return-all-actors.html