How do you make enemies react, aim and shoot the player?


i’m trying to program my enemies so they react when the player is close enough to be seen then start to aim and shoot at the player. I also want each one to move in their own unique way whilst attacking the player. An example of what i’m wanting is the attack style the enemies in tomb raider legend perform.

Hopefully this helps some.

Yeah, there’s no single specific tutorial telling you how do implement a “shooter AI”, but there’s a lot of tutorials telling you how to do specific details of the bigger picture. Read/watch through as many as you can and then ask questions about things not covered in these tutorials.