How Do I Set A Variable Reference To A Player For Use In Coding AI

I am starting to work on AI in my game and I can’t figure out how to make the enemy AI fire the projectile at the player when it sees the player. It works fine for the server but the AI completely ignores the client. How can I get a reference to the player so I could get the clients location and set AI to move to the client for example.

You need to probe for a certain type of object(the player) when that object or class is detected(in line trace or whatever) call your “fire” node