Download

[Solved] [AI Perception] how to know when npc lost player?

I’m playing with the AI perception and I just can’t seem to find a way to do it - to know when the npc has lost the player?

I tried to use the ‘On Target Perception Updated’ event, but it fires multiple times with the same ‘Successfully Sensed’ value. And even worse - when player goes out of range, it doesn’t fire at all.

what is the proper way to do it then? to know when an enemy lost the player?


希望能帮到你

That is what I was doing. It seems the issue was with max age. And thanks!