Why sorting doesn't working?

Get help using Construct 2

Post » Thu Nov 27, 2014 8:14 pm

Why sorting doesn't working?
This is a part of Drag and Drop inventory system.
Selected_Cell - value of the initial inventory slot.
Selected_Cell_type2 - the value of the final inventory slot.
Image
B
3
Posts: 8
Reputation: 193

Post » Fri Nov 28, 2014 8:29 am

Looks like you're trying to swap two items?

I don't think you need the for each XY element. My guess is that it is swapping multiple times because it is looping through each XY and performing the actions for each XY element.
B
45
S
21
G
65
Posts: 1,115
Reputation: 38,221

Post » Fri Nov 28, 2014 12:19 pm

Prominent
Yes, thank you very much, removed the for each XY element, and now everything is working as it should
B
3
Posts: 8
Reputation: 193


Return to How do I....?

Who is online

Users browsing this forum: AllanR, BackendFreak, R0J0hound and 26 guests