How do I make my events work properly(swifting values-2 Arr)

Get help using Construct 2

Post » Thu Mar 27, 2014 6:13 am

It's an event that swift values between shortcut bar (array) and an inventory (another array). This events below is picking, on double clicked, the value from inventory slot to shortcut bar. The mechanic is like this: Double Clicked> shows numbers(button) for each shortcut bar's slot> cliking on any of these buttons, the swift happens.
The problem is that it's working, but only after the first time it runs. So the first time I save the value to the shortcut bar but the same doesn't happen to the inventorym which keeps it's original item (only in the first double clicked)

Another problem that I really don't understand is that even the action running, the variable FoundItemTrade keeps -1 and I'm not setting this value again anywhere.
Image

Thanks!
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Return to How do I....?

Who is online

Users browsing this forum: Syazanie Amirin and 41 guests