Finding a path is the easy part. (thousands of A* examples there are)
Following the path - without looking like a moron - is the
harder part, and needs to be customized to the game-environment.