How do I access an instance of an instance?

Get help using Construct 2

Post » Fri May 09, 2014 12:12 pm

Hi guys,

I'm new to all this so just figuring things out still. So I'll explain my problem.

I spawn an instance of object1.
When object1 is created I spawn an instance of object2 and pin it to object1.
When an instance of object1 overlaps an instance of object3, object 1 is destroyed and unpins object2.
Object 2 is a physics object so will fall when unpinned.
However, all instances of object2 get unpinned and fall. :(

How do I just unpin the object2 instance that is pinned to an instance of object1?
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Tue May 13, 2014 8:30 pm

2 Conditions
Object 3 -> On collision with Object 1
Object 2 -> Pin is pinned

Action
Object 1 - Distroy
B
68
S
9
G
8
Posts: 24
Reputation: 8,676

Post » Wed May 14, 2014 8:19 pm

Thank you.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to How do I....?

Who is online

Users browsing this forum: varr and 4 guests