Picking specific family objects

0 favourites
  • 5 posts
From the Asset Store
A collection of various zombie characters sprites for creating a 2D platformer or sidescroller game
  • As always thanks to anyone taking the time reading this and trying to help.

    So I'm trying to figure out condition/action for the following:-

    family has 100 objects so individual events seems overkill

    condition

    mouseclick on family.object1(could be object1-100)

    action

    create family.object1 (needs to create the same object that was clicked on)

    tried a bunch of stuff from mouseover to nickname and keep getting action random family.object

    thanks again for any help

  • Do you have a capx example?

    From your previous post, since you had already assigned id as instance variable on the object, so on mouse click on object, store the id of the clicked object and create the object with condition id=storedID.

  • Its a different family, I could set ID's, but how do I store/retrieve the ID?

  • feel like I'm going in circles still can't find any system or family options to save the uid or an instance variable that will then let me create the same uid or instance variable all within the same single mouse click on object, whatever I try It just seems to pick a random object from the family to create.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As far I know it's impossible to create specific object from a family by adding filters to that object.. independently it will always spawn a random family object... that was one of the features I always asked for.. in construct 1 that's possible to control and it would a very welcome thing to C2.

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