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

0 favourites
  • 1 posts
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • 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.

    Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)