How to make an enemy stalk you

Hi, Im redoing my game because I upgraded to unity 4.0 and it deleted all of my scripts from the last game. Right now Im trying to get a script that makes the enemy always look at you and and follows more persistently as each page is collected. If someone could give me a script for this Id really appreciate it. Thanks.

Give you a script, yeah, no. But hints and directions !

First, you have to separate how to move your character, then where to move it. For the first part, you can import the character controller package. For the second part, there is the orientation (transform.LookAt) and the direction (target - currPos). But this will move your character on a straight line, and I suspect there is trees in your game. You could do a simple avoidance as trees are kind of particular (circular, limited radius) or, more difficult, pathfinding.

As for the degrees of efficiency to rise up as the player progress into the game, you can play on the speed of the enemy maybe ? Then again, I never played slenderman myself.