How do i get the location of the closest character or actor from an array

anyone know how to get the location of the closest character/actor from an array (GET ALL ACTORS OF CLASS)?
i want to interact with whichever is the closest of the class. when i use FOREACHLOOP and GETDISTANCETO my character just seams to interact with any random character of the class.

Post a screenshot of your blueprint, it’s likely a logical issue. Using an array of actors, checking the distance of each then picking the nearest should work the way you describe!

If there’s no issue with your BP setup, it’s possible there’s some sort of bug.

Thanks pal, I can post a screenshot later, I’m not at my PC right now.

I have written up an example here: http://goo.gl/jEHT0u (p.84)

Image: https://dl.dropboxusercontent.com/u/9344219/ProximityActor.png

Youtube: http://youtu.be/33XdoerjUZs

Thank you, you’re like an Unreal God or somthing and you’ve got a bible too!

Dude Example project is gone can you give me another?

can you please upload the example again?

Guys, this post is over three years old.

Still i want to see the setup thats something im looking to do