Hello there,
I'm having some problem with a process that I'm trying to achieve.
I have a sprite, and a family that contains 100 tiled backgrounds.
In each sprite in the layout, a function is started. The function, would create a tiled background by name (taken from the Sprite variable) and then, when the object is create, I would need to access the variable or property in its family.
The problem comes to the last part. I'm able to spawn the different tiled background depending on the name, however I'm not able to access the family property. So, let's say that I want to heredity the width, height and angle of the sprite, I can't do it if I select the family. I would avoid to make 100 different events to select the specific tiled background to edit based on the name.
I did several tests, and it seems that I'm not able to access the family variables/properties because the object made is the tiled background. However, I'm not able to create the family and then choose which child create.
I have been thinking about different solution, such as using the scripting to change the properties I need to change (width, height and angle), however in future I might need to change more advance things.
Here the file as an example: https://feribi.com/tiledBackgrounds.c3p , as you can see in the debug mode, if I try to set the id2 (in the family) it wont work.
Thank you!