How can I pin an object to a nother object's UID

Get help using Construct 2

Post » Sun Oct 11, 2015 3:06 pm

Hi,
is there a way to pin an object to another object's UID?
For example, I have a sprite A and three other objects (BUT those three are from the same sprite). So actually I have sprite A and sprite B. What I want is to pin sprite A on every sprite B in the Layout. Is there an expression for pinning to UID? Because there's no way to type an expression for the sprite you want to pin...I mean you can only choose from an object and thats it, but how can I tell construct to pin sprite A with the UID 20 to sprite B with the UID 22 and sprite A with the UID 23 to the sprite B with the UID 24....
B
18
S
8
G
6
Posts: 35
Reputation: 4,759

Post » Sun Oct 11, 2015 3:23 pm

Add the condition: sprite pick by unique ID
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Oct 11, 2015 5:22 pm

Perfect! That worked fine for me, thank you a lot for helping out. Didn't know it was that simple :D
B
18
S
8
G
6
Posts: 35
Reputation: 4,759


Return to How do I....?

Who is online

Users browsing this forum: BackendFreak, farsen, lahbach, newt, TRMG, Yahoo [Bot], Yarfapet and 19 guests