Hi,
It depends the type of game you have, you could use pathfinding and change the destination when arriving, that's very powerful cause your character can wander around everywhere in your level. If you are looking for something less powerful, you'll need to precise the game, is it a 2d game, 3d game, what's your level is made of and what kind of distance you expect the character to walk, etc.
bye,
Jean