How do I make an object rotate to AI character

So I have a turret but I cant figure out how to make it rotate to an AI not me the player? Any Ideas?

You need to get the position of your AI character and the position of the turret, then use Find Look at Rotation to calculate which rotation you need to apply to the turret to point that AI character. Finally you apply that rotation to the turret.