How to make enemies shoot the player?

I’m doing some sort of shooter in 2D (but my player don’t have ability to shoot (that is the catch)), and I don’t know how to make my 2D flipbook enemy shoot at me. I have found some solutions, but that works only for 3D characters and for animation mode.

You can see in this picture how I have defined enemy Attack function.

74404-untitled.png

Here is the picture

so what about AI BT? In this function you are only defining to your enemy HOW can he shoot. Have you defined WHEN and WHY should he shoot? I mean you must create some logic which will call this ‘attack’ function.
Something like “ok, i see the player. He is in range. I have to shoot at him”

Aaaaaha! You mean something like this - YouTube ?
Thank you FiftyStars for your answer, and sorry for my noobish questions. :slight_smile:

When you are just starting out with blueprints, you don’t really need to use BT’s to get going. You can do quite a lot in blueprints without ever messing with BT’s at all.