In my game there are two teams using the same base units, so I created one of each unit type and put them all in a single family. To differentiate between teams, I simply have an instance variable called "Team". I am now setting up the turrets and added the family as a target. This results in the turret attacking all family members. Is there a way to limit this to just family members who have a value in the instance variable "Team" that differs from the turret's?