I'm trying to figure out how to make each member of a family rotate toward the closest member of the same family. Does that make sense?
At the moment, the system just seems to realise that it itself is the closest member of the family, so it just looks at itself. This obviously isn't what I want it to do. I want to to exclude itself from the choices. I therefore tried to set it up so that it would allocate itself a number, and only check out family members whose numbers that were not equal to its own... but that's where I start to get confused, and it doesn't appear to be working.
Originally I did have it set up where players and enemies had their own families, and that worked great. The only problem I had is that I wanted certain aspects to work for both families, so I combined the two. It is important that I only have this working within a single family, so I hope someone can help.
I feel I'm close, but for all I know, I may be way off.
In any case, please find the attached summary example of what I'm trying to achieve.