Making Friendly turrets

Hey im a total newb to doing advanced stuff in the game but can anyone tell me if theres a way to make turrets friendly so that they attack combines + zombies etc and not me?
I think you can type something into the console but im not sure.
Any help appreciated

have you tried ignore player so nothing goes for you?

This pack includes a friendly Resistance Turret.

i know that no_target stops it from shooting me but i want it to shoot zombies and combines

@tepholman Thanks, ill give it a try