Family Containers

New releases and general discussions.

Post » Wed Jan 21, 2009 2:52 am

I'm currently having a dilemma where family containers would simplify things greatly. For example, in the family properties dialog, you could add objects to a family's container, and then the objects inside the container would spawn with the family objects, and of course be picked with them as well. Any chance we could get this?
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Wed Jan 21, 2009 7:45 am

You mean something like if you spawn a tank, a turret spawns with it?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Wed Jan 21, 2009 10:59 am

How is what you propose different to an ordinary container?

If an object in a family is also in a container, the whole container spawns, destroys and picks with it. Containers always spawn and destroy as a whole, you can't ever create a single instance of an object without its associated container types.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Wed Jan 21, 2009 5:01 pm

Well, it's kind of pointless now since I managed to figure out a way around it, but here's where it would be helpful: Say you have a bunch of different objects in a family, and you want all of them to spawn with one common object which is then attached to it. So essentially, it could just be made to where each family object would spawn with this object, but the object, when spawned by itself, wouldn't spawn with any family objects.

Again, I already figured a way around it, but it could still be helpful in some circumstances.
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests