Thanks! The "pathfinding" is pretty basic. The guards will move toward you if you are on the same X or Y as they are, otherwise they will wander randomly. They don't even check for walls in their way, they will still try to move toward you. I wanted to keep the cost of the guards low so that I could have hundreds of them at a time. Doing any sort of traces or real pathfinding for each guard would severely lower the practical limit on the maximum I could have.