Download

Enabling input on character BP controlled by an AI controller doesn't work!

Hey everyone, I have a slight problem here

I am developing a touch screen top down mobile game. When you tap on an enemy, it will cause the character to run over and attack it. Problem is, my enemy, which is a character BP controlled by an AI controller, simply does not accept input! I enabled input like I am supposed to:

b536d83329090ba95cbc309e6a22f4497d9ebd5d.png

But the inputs will not work.

I also enabled input in the AI controller, and while it accepts input in that, I don’t know if I can the ‘on touch begin’ exec to fire through the AI controller BP.

Does anyone know how to get this to work? I would really appreciate it!

~StevenWaltherMedia