Hmm, you could have a separate guard that does the walk during the see state, and when it goes to its attack state to attack the player (which it would do when it saw the player) it could spawn the regular guard.