How do I collect and drop [inventory]

0 favourites
  • 4 posts
From the Asset Store
Inventory Aid
$3.43 USD
30% off
Create grid-based game inventories and items easily.
  • Hey everyone!

    I'm still learning Construct 2, and I got stuck on the inventory. I tried to do from one of the tutorials and failed to make it so it collects the item when you right click it and drops the item when it's in the inventory and the cursor is over it by right clicking it again.

    I Used Dictionary to make the inventory.

    Here is some images-

    I will be glad if you guys could explain what i did wrong, Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Could you explain the difference between events 3,4,5 and 6?

    They all seem to have the same conditions..

    Events 7,8,9,10 and 11 don't seem to make any reference to which weaponsicon should be affected

    and first set the cursor to one position and change it's position again within the same event, which seems useless..

    Actually, I don't really understand why you have three on right button clicked events that could be true at the same time and probably are most of the time..

    You are checking if the cursor is playing a certain animation, but I don't see any action changing that animation..

    All events seem to make little or no sense, I'm sorry..

  • LittleStain This Dictionary Inventory is from here - https://www.scirra.com/tutorials/670/ze ... e-easy-way

    The Zalda Inventory It's called. I tried to make so when you right click the number of the instance verible 0 or 2 etc. the cursor moves to that position! But it seems that I failed <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

  • Like I said, there is no difference in the conditions between events 3,4,5 and 6..

    So if one of them is true all are true and all actions will be executed from top to bottom..

    also you are not specifying which instances you are talking about in the events..

    Your events and actions are very different from the events in the tutorial and all that makes them work, you seem to have left out..

    When changing events, please make sure you understand what you are doing and make sure there is no way C2 can't understand what you mean..

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)