Not array inventory.

Get help using Construct 2

Post » Fri Feb 14, 2014 8:13 pm

Hello, i have a problem, i'm trying to make a non-array inventory and i have got a problem that i didn't expected to have. I made an event where when you click item, it should appear in square with id(variable as id) 1, then if it's used(another var) it should use another one, and there the problem began. I made a text to check locked and unlocked slots, when i pick up an item, item changes position and layout, then, when i try to pick up another one, happens nothing. I tried many things such like:

Event: ON 'item' clicked

Sub-events: Locked slot isn't 0, id = 1...change layout and position of 'item' and change var lock = 1(locked)

Sub-sub event: (is the same but with id 2)
B
23
S
5
G
4
Posts: 142
Reputation: 3,262

Post » Fri Feb 14, 2014 8:51 pm

I figured it out, i think i made a great inventory system, easy and 1 slot = 1 event :D
B
23
S
5
G
4
Posts: 142
Reputation: 3,262

Post » Fri Feb 14, 2014 8:57 pm

I have only one question: When items are overlapping themselves and i press on them, one only goes to eq and one destroys, how can i prevent this?
B
23
S
5
G
4
Posts: 142
Reputation: 3,262


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], JoyfulDreamer, StillSarah and 19 guests