LOS might not be the best way to do it, as you would have to set up something to block the sight. However if you are using sprites as waypoints, you could give them a number through a variable and in your enemies you make a variable as well that keep track of where it should go next. That way you can just place the waypoints where you want and they should follow them.