Making enemies shoot player?

I’m trying to create a top-down shooter with various enemies. How do I create enemies that shoot the player?

In the past I followed this tutorial by “Weaver Games”, later in the series (part 8) I believe he shows how to make some basic AI enemies that follow the player, what you can do (maybe this is shown also) is to just allow the AI to shoot its own bullet depending on if it has a player to follow.

Perhaps this serie by Peter L. Newton can be of use also