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
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Wed May 22, 2013 2:11 am

Nobody?
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Wed May 22, 2013 2:17 am

I guess it isn't clear what it is you are wanting to accomplish.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

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
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

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
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

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
96
S
25
G
20
Posts: 3,054
Reputation: 22,642


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest