How to make AI not detect my player

Hi, I have created a Drone follower to follow my third person character around and shoot at my enemies

Currently the drone shoots at any pawn it detects including my character as I cant find a way to differentiate between my character and the enemies. All seem to fall under ‘pawn’

thanks in advance for any help

you could easily add in another check to see if the target is the player. beyond that its pretty situation dependent so we would need more information such as seeing your script.

Instead of checking for “pawns”, create a custom collision channel for “enemies” and have your AI drone search for “enemies” instead of the “pawn” collision channel. This will easily separate friendlies from enemies.