I dont know if you can call it AI but I made some very basic random movement for my npc. It's a top down view game, and the npc just moves in any of four directions. Every one second, a variable is chosen from 0-3 and the variable chosen determines the direction the npc goes.
So that's all fine and dandy, but the issue is that every copy of the sprite that has this movement moves the same way, and what I want is for them to all move differently.
Here's my capx file, please try to help.
WASD to move. I put two test enemies to show the issue I have, when I want them to have different patterns of movement and not share it.