This video will teach you how to make an advanced AI for TDS genre game
Enemy can be warned or unwarned
If warned it will follow you
Playing attack animation if too close to the player
If lost player in attack range will stan steel for 1 second and then continue following
Also can get lost if don't have player in LOS for 3 seconds
CAPX & graphics in the description
youtube.com/watch