Download

Activate a custom event when I approach the NPC

Hello, sorry for my english xD, I need a help, I programed a NPC, he can walk from point A to point B, the NPC does when I select the PLAY button in unreal (EventBeginPlay), my question is:

I need the NPC start walk from the point A to point B when the player approaches him a certain distance.

I hope people can help me, thank you very much :slight_smile:

You can add a collision sphere around it and have it ignore everything except for the player pawn, then extend it to the desired distance, then use event on overlap to do the start walking event