For context, I’m making a multiplayer game where there is an enemy that roams around and chases a player when it senses it in view. I’m trying to make it so that the AI Enemy I made doesn’t just target the index 0/BP_Hero1 player when it senses that pawn. I understand that it is because I am casting it to the BP_Hero1 in the 1st image. Furthermore, in the 2nd image I understand that it is only going to target the Index 0 player since that’s what I’m setting the target actor to. I’m just super confused on how I could make it so that it picks any player to chase in its view rather than the index 0 player.
I’m new to Unreal Engine so any feedback helps