I'm starting to use families since my license upgrade :) and just realize that families are made for attach behaviors to all the members but not to apply the action to all of them at the same time but just for the member that triggered the event.
I understand that families were made that way. I've read http://www.scirra.com/manual/142/families and of course "Laser", on collision, has to destroy only the enemy family member that triggered the collision...
... but if I want to destroy all the members on the family "enemies" when any collision between laser and enemy happens?
Is there a way to do this without doing it one by one?
Similar to what I need is:
Content of "myFamily": 20 different sprites.
The 20 sprites behavior: Physics.
The sprites are moving randomly on the screen and when one hits another, I want to destroy all the "myFamily" members.
"myFamily" -> on collision with "myFamily" -> "myFamily" destroy.
But this only destroy the collisioners.
Thanks for your time guys ;)