How do I pin a family element to an object of this family ?

Get help using Construct 2

Post » Sun May 18, 2014 3:13 pm

Hi.

I would like to do something like this :
For each object of my family "monster", I search the closest object from the same family "monster" and I pin them to each other.

Any way to do this?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Mon May 19, 2014 2:17 pm

No idea? :(
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Mon May 19, 2014 2:31 pm

You can't manipulate two of the same object at the same time. Just make a second family, the same as monster. Then you can search the second one.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Mon May 19, 2014 8:26 pm

It would be nice if Construct 2 made this possible, as you can do with a regular programming language.
I like the idea of having an identical family, but I don't think it will work as long I manipulate a family variable in my foreach loop, right?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276


Return to How do I....?

Who is online

Users browsing this forum: David181, dop2000, namaewayukidesu and 14 guests