Path following or wandering npc

Hello! Is there anyway I can create some sort of just wandering npc? I originally thought I could just have the player walk around in a path in my game, however, I learned that paths don’t work in the game engine. Is there any way I could get an object to follow a path or wander randomly? Thanks!

Simplest solution, perform random decision what to do (e.g. walk, turn …). Then do that.

This will not make the NPC walk to a certain location, but let him do something.

Hello shoop.
For Pathfinding the BGE has the “Recast & Detour” libraries. Or you can use Python with p.e. the A star library/code.
Here is a tutorial how to use Pathfinding with the Logic editor: Blender engine - Characters https://www.packtpub.com/books/content/blender-engine-characters
Look in the part of the tutorial from “Involving enemies in the game” downwards.

Greetings
achisp