Differentiate two instances of same object

Get help using Construct 2

Post » Tue May 06, 2014 6:54 am

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. :o

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?
B
3
Posts: 1
Reputation: 202

Post » Tue May 06, 2014 7:10 am

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)....
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 7 guests