Setting who the NPC's attack?

I want to make it so that the HL2 turret doesn’t shoot everything in sight. How do I set what they shoot at?

you should make your own… i think so

look on the wiki for NPC:AddRelationship() and NPC:AddEntityRelationship() i think those are the functions you are looking for.

These are not the droids you’ve been looking for…


But as fantymsaid, do that on the NPC’s spawn I believe.