I'm looking to learn about NPC AI to solve a problem how an NPC should walk e.g. walking straight and then turn at a wall. Perhaps I can program it to walk along a line but then I still would not know how to make the NPC do more complex. An article I found is linked.
Can you link something more that could solve my problem?
I found this question constructive: How to handle walking into walls?