Differentiate two instances of same object

0 favourites
  • 2 posts
From the Asset Store
This is a Dungeon Master tool & the 1st of 12 Combat Engines from the Building Combat Engines for Browser Games workshop
  • Hi there!

    I have a problem:

    I want to drag a specific instance of an object over another specific instance of the same object to create another instance of that object.

    The objects are stored in an array. They have an instance variable named "ItemName". The first objects value for that variable is "Stick", the second ones value is "Wire". I want to drop one of them on the other to "combine" them, but i cant figure out, how to tell construct that i have two different instances of the same object.

    The event is like: "if ´object ´ is overlapping ´object´", but i cant say, which instances construct should use.

    can anyone help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have the free or full version of C2 .

    If the full version you can use families to do this.

    if (object) is overlapping (family_of_objects)....

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