Patrolling Question

How can I get my enemy character to return to its patrolling position after attacking my player? I have a very simple AI setup where the enemy is patrolling a simple path. When my player comes near it it leaves its patrol position and attacks my player but if my player is too far away or was destroyed, the enemy won’t go back to its original patrol position. Any advice?

I’ve attached my blend file. By the way, the file has a super simple pathfinding setup for those looking to make an AI in the Blender GE (no python either).


patrol.blend (138 KB)

Never mind. I’ve figured it out. I’ll leave the blend file up though for use by the blender community though. It has the end result up. Enjoy!