container copies itself

This forum is currently in read-only mode.
From the Asset Store
A well commented Dynamic Heart Containers template to learn from or to use as a base for your own game!
  • I have an event that creates an object, which is a container. when the container is created, it checks for each of them, creates the two objects in the container and sets a few values then destroys itself. For some reason, to construct this apparently means "container, copy yourself and keep doing it." There are no other events that cause it to copy, and when I delete the for each loop, it creates and doesn't copy itself. Am I doing something wrong or is it just broken?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • One of the attributes of a container is that it creates everything in the container if one thing in it is created.

    Same goes for when one part is destroyed.

    Found out an interesting bit of information tonight myself. That being that the other parts of the container are created at their resting place on the editor, even if the one part that was created was "spawned".

    ......runs off to play with the Object Pairer.

    Might want to check that one out yourself.

  • For some reason, that doesn't work for me (it still copied itself even if they weren't in a container), although I managed to come up with a work-around. I'll check out the object pairer.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)