I am facing a problem with instance variable, with families. Basically I have a bunch of sprites, and each of them will inherit a family variable, in this case, Health.
What I want to do is then for each instance of the sprite under this family, I would like to customize their health variable, then add them ALL into another family variable called Totalhealth.
For some reason I can't do this without specifically doing it one by one. Is there a smarter way to do this?
I have provided a screenshot as well as the capx.