Hi, I am trying to use families a little bit, and I am a little confused with the information I have found. Basically, I just want to know how family private variables work, and what differentiates families from attributes.
I've read that all family members have to have the same private variables... but is that only if I'm trying to change a variable on family? For example, I have family 'Dog' with variable 'Legs'. The two members of this family are 'Lab' and 'Bulldog'. Each of them has the 'Legs' variable because they are both members of the family... but I want to add a unique variable to both 'Lab' and 'Bulldog'; let's say 'Lab' has a variable 'Snout' and 'Bulldog' has a variable 'Tail'.
Now, will the family have problems with this? Obviously I cannot try to change variable 'Tail' in an event for the family because not every member of the family has that variable, but that's fine with me.
Next, from what I understand, Attributes differ from families only in that we cannot perform a large number of events on Attributes, correct? And I guess that families all have to be the same type of object (Sprite, Tile, etc), while Attributes don't?
Finally, along with my first question to an extent... can an object have multiple families? It would be pointless if each family had to have the same private variables, because then they would all pretty much be the same... right? Could I have family 'Animal', and then in that family I have family 'Dogs' and family 'Birds'... and then within each of those families can I have multiple objects? Such as types of dogs and types of birds? Basically, can I build this structure so I can select EVERY animal, or just every bird, or just a specific bird, or a specific dog, etc? Will families work like this?
Thanks for any input!