How to check if player is nearby

So I have a question :
I need to check if player is nearby in unreal engine 4 with blueprint

1 Like

What’s Up AstroBoy01,

There is a lot of answers to your question. Which all revolve around two similar practices, you must get the position of the two actors, and compare the distance you define as ‘nearby’, such such as 50 in this example below. Or you setup volumes which notify you of actors that enter, exit, and are actively overlapping your volume. Then there question is also when this information is required and how often.

So here is one, and if you need a different answer.

Please let me know more about what you’re trying to do within your project. What Actors specifically you have created so that I can better understand a suitable answer for you.

Otherwise, here is a simple yet a effective way to detect another Actor nearby the actor Execute this script.

Peace,

[Peter L. Newton][2]

1 Like