cedlal's Forum Posts

  • 5 posts
  • imhotep22 You are totally right! They explain how to do this in the documentation and it makes a lot of sense. I will pick the instance from the instance variable - ID instead of the UID provided by Construct.

    Anonnymitet It seems like a very useful plugin! Unfortunately I cannot use it, I'm already using C3 because I'm working on a mac and the plugin is not adapted to C3. I Hope it will in the future.

    99Instances2Go I'm picking a couple of objects randomly from the family and I add them to screen at random X position, the objects are created at runtime (no spawning).

    Thx to all of you!

  • I just wanted to pick an existing instances.

    In other language I could pick an instance from the instance name that's why I was confuse.

    Solution:

    I've sent the UID of all the objects from the family in a array and then I create an event "Pick instance with UID - UID number from the array" from the family.

    It worked perfectly!

    Thx for the reply!

  • Yes, that's exactly what I've done and it worked perfectly!

    I've sent the UID of all the objects from the family in a array and then I create an event "Pick instance with UID - UID number from the array" from the family.

    Thank you for your help!

    I wanted to pick an existing instances.

    In other language I could pick an instance from the instance name that's why I was confused.

  • I have a family (colors) that contains 3 objects (blue, green, red). I want to select or create each one of them by name. (dynamically)

    I'm using a familie because they can be drag&drop and they behave the same way and the familie will contain much more objects.

    I thought I had 2 options to achieve this, to select them by instance name or to create them one after one.

    If I create one object from a familie it creates automatically all the objects from that familie. (not an option)

    I didn't found a way to select the object by instance name ?!?! (weird because it's usually a very basic to do but doesn't seem to be an option)

    How can I achieve this simple task?

    Thx!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a family (colors) that contains 3 objects (blue, green, red). I want to select or create each one of them by name. (dynamically)

    I'm using a familie because they can be drag&drop and they behave the same way and the familie will contain much more objects.

    I thought I had 2 options to achieve this, to select them by instance name or to create them one after one.

    If I create one object from a familie it creates automatically all the objects from that familie. (not an option)

    I didn't found a way to select the object by instance name ?!?! (weird because it's usually a very basic to do but doesn't seem to be an option)

    How can I achieve this simple task?

    Thx!

  • 5 posts