How do I collect and drop [inventory]

Get help using Construct 2

Post » Tue Jun 09, 2015 6:04 pm

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-
Image
Image
Image

I will be glad if you guys could explain what i did wrong, Thank you!
B
8
S
3
Posts: 120
Reputation: 989

Post » Tue Jun 09, 2015 6:53 pm

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..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jun 09, 2015 9:50 pm

@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 :(
B
8
S
3
Posts: 120
Reputation: 989

Post » Tue Jun 09, 2015 11:12 pm

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..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Buddhika, R0J0hound, Yahoo [Bot] and 13 guests