Multiple Instances made me headache

Get help using Construct 2

Post » Tue May 21, 2013 10:51 pm

Hello, I'm making a test an unit could push away to each other. The problem, I couldn't figure out how to apply to multiple instances.

I tried to add For each, but it didn't work.

There's a capx comes Instruction, would you help me?

https://dl.dropboxusercontent.com/u/76227787/MultiInstancesProblem.capx
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Wed May 22, 2013 2:11 am

Nobody?
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Wed May 22, 2013 2:17 am

I guess it isn't clear what it is you are wanting to accomplish.
B
37
S
9
G
5
Posts: 437
Reputation: 6,098

Post » Wed May 22, 2013 2:28 am

Well , got 5 mins to check it out , If it isn't solved before tommorow , I'll give it some more time ...

After 5 mins : Ah , need to go sleep , I think it's a problem with picking , revise your picking events ...
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,481

Post » Wed May 22, 2013 5:54 am

[QUOTE=czar] I guess it isn't clear what it is you are wanting to accomplish.
[/QUOTE]

@czar I'm sorry, there an issue, if you see 4 units, then select one in the top (Instance 1), try to right click over behind of every other units to push (Instance 2, Instance 3 and Instance 4), it works as we expected, now deselect and select Instance 2, try to right click over behind of Instance 1, it looks like it keeps moving until stopped. Not perfect.

Now, try to select Instance 2, try to right clikc over behind Instance 3 and 4... It seems the ghost pass, it means it's not working as well... There only one working is Instance 1 after all... It makes me hard how to solve the problem.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Thu May 23, 2013 3:03 am

I'm still desperated...

Let me show you what I need to solve this problem.

This .capx is currently working like that:



Instance 0 is worked after all, it can determine the distances between other instances, the problem about Instance 1 to Instance 2 doesn't work.


I'm looking a solution like this:



Every instances can determine the distances to each instances, it made me headache because I couldn't figure it out.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421


Return to How do I....?

Who is online

Users browsing this forum: YoHoho and 11 guests