I'm trying to set up a simple AI for the enemy blueprint to make them target player's chosen character which is a parent of the main character BP

I’ve replaced ‘player character’ nodes with ‘player pawn’ but now it just functions like a turret. It knows where my character is, even behind obstacles and never stops firing. Even if I change the decorators on the BT didn’t do anything.