Game engine help!

Hey guys i was just wondering how to make an enemy follow a path, when i get near him he follows me until he attacks me, and when i die he continues following the path again.
Any ideas?

Here is an example;
The enemy folows initially goes to the initial target,but when it gets near the player,it will start following it untill his health go to 0, when this happens he goes to initial targer.

Attachments

pth.blend (496 KB)

Thank You!