hello, i need a basic randomly wandering AI, however, i have no idea where to start with it, i don’t need it to be complex, all i need is for the thing to turn around, move and just generally derp around.
assume that your wandering player can be dead or alive, all you need is a simple loop that work while your player is alive. inside you will random a direction to walk.
if something is happen like the player got shot then the loop should stop work and the player will do something else. (drop dead maybe?) it’s the simplest AI i can think of…