Programming a simple AI

How can I program a simple AI to just walk around the area?

Could you provide a bit more information, please?

How can I create a simple NPC that walk around a area or room in blender.

Take a look at blenderpeople script made by Roland Hess. See http://www.harkyman.com/bp.html for further information.


while true:
    nextLocation = getNextLocation()
    walk(npc, nextLocation)

Wow, is it really that simple?

A… I’m not a programmer so I don’t really understand how Blender and Python work together. How is python used in blender ?

How can I make a NPC character walk around a room like the one in “FPS_BOTSPATHv”?
How does it work?

us logic bricks…

I made a path find-ing bot in the BGE using only logic bricks
http://blenderartists.org/forum/showthread.php?t=73680&highlight=path+node

Shellfish: if you have no programming experience I would advise against making an AI your first programming project… as you may be able to tell from the responses… it’s not a simple thing.

p00f mentions logic bricks which I think is more practical to start with… make it a game… and game engines already have some functionality in that area. Though not nearly advanced enough to simulate actual walking… but you can fake it rather well.