Thx, dieblume86, implemented it with families as you said. Also used array to make a list of characters, so now if the character is dead, we can simply use delete on array to remove him from list.
Develop games in your browser. Powerful, performant & highly capable.