Create instance from random objects

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hello !

    I would like to create instance from random objects (all inside a same family of course) and I don't know if it is possible or how to do.

    I tried System -> create object "my family" and it doesn't work. I hoped that I can use System -> create object "my family(a random number)" but I can't. (EDIT : forget about my family(a random number), it's based on UID or IID : it's not the subject, just a bad idea :D )

    Using array is not permited because it allows only number or text.

    Any idea ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Found it... Just have an instance in the layout for each object in the family.

    System -> create object "my family" creates one random instances !

    Manual says :

    "Create object

    Create a new instance of an object type on a layer at a given position. If a Family is chosen, a random object type from the family is picked, and an instance created for that."

    I saw the Family part but not the System actions part...

    Sorry for that topic !

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