How can i create enamy ai

So want to create game for learning ai and i really like the it steals monster ‘legs’, i want so my ai stalks the player and sneaks up behind the player and deals demage and if he gets flashes he runs aways. There arent really meny tutorials about this. Would really appreciate the help.

Hi,

I recommend trying to start off with some basic tutorials to learn the principles first.

If you search LlamaAcademy on youtube there are some great tutorials related to AI in general to learn some basics.