So I have this project on a chess board, Queens, Knights, Pawns etc.
I created an event sheet that creates some queens dynamically, based on some global parameters (how many queens to create, where to place them etc).
I created another event sheet that creates some pawns dynamically, based on global parameters, with IDENTICAL code, except for the object name, where I replaced Queen with Pawn.
And so on for knight, bishop etc. All these Queen, Pawn, Knight etc belong to the ChessPieceFamily family.
I thought it would be nice to use this Families feature instead of copy/pasting code around (and forgetting to modify in all places).
I would like to have just ONE event sheet, which creates some ChessPieceFamily dynamically (using System->Create object), and based on some global variable I would tell it what exactly to create (pawn, queen etc).
Is this possible? I.e. filtering just one of all the object types in a family when using System->Create Object on a family?
Thanks a lot!
PS: looking forward to family instance variables and family accessing object instance variables too