I have 3 sprites, one and two are in a family with 1 variable "aggro"
Third sprite is in no family with variables tarX, tarY
The script runs:
for each "third sprite" > check for family member instance with the highest agro third sprite > set tarX to family.X
My issue is no matter the aggro var I set to sprites it always returns instances of the first sprite, never seems to check the second sprite.
Sorry for only text as i'm out and about, I will post an image in a few hours.