How do I get AI to return to patrol once it loses sight of player?

Dear All,

I have set up a Patrol AI following 4 Target points. This works successfully with a 3 second delay before the AI moving on to the next Target point.

The AI will also successfully chase the Player when it sees/senses the character. I am having trouble getting the AI to return to its patrol once it loses sight of the player.

Does any one have any ideas as to how I can do this.

Thanks very much.

Drag off from the “chase” logic AI Move To, so if it “fails” call “patrol to point” event again, also if it succeeds, unless you have other logic for what to do when it gets to the player you should call “patrol to point” from the success pin. Either way you would restart the “patrol” logic that way.