Hey, so I am new to Unreal Engine 4 and I’m trying to create some basic AI for my game. The way I want my AI to work is that if he patrols if he can’t see the player, chase the payer if he can see the player, and if he loses sight of me, go to my last known location, resume pursuit if he finds the player, and resume patrolling if he can’t.
My problem is that I don’t know how to trigger the go to last known location events when the AI loses sight of the player. I have the vector variable but I need something like a “on lost sight” node, (On Fail doesn’t work) but I know no such thing exists. I’ve been looking around for useful tips but I haven’t been able to find any. I’ve heard of something called AI Perception but I haven’t found out how to use it.
Thanks in advance!