neural networks are not accidentally not used in games. a hierarchical state machine or a behavior tree is much simpler and faster to develop, modify/tweak, extend and to debug, and their performance is good enough.

basically they can be implemented as if-else logic, and helped by some stored parameters showing which state/branch/node is running... I did it in lite-c, it was easy after I simply hand-drawn a behavior tree.


Free world editor for 3D Gamestudio: MapBuilder Editor