List-based inventory help

For questions about using Classic.

Post » Fri May 15, 2009 7:31 am

Basically, I'm trying to create a list-based inventory. Currently, I'm using a list object with a hash table, and my current problems are:

1. Getting everything on the list. For some reason, the last item is repeated and with no value.
2. Double-click actions based on the item double-clicked. I haven't managed to figure out how to grab the specific item on the list and compare with the hash table.

Here's the .cap.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Fri May 15, 2009 6:14 pm

looks like a bug in hash :? why is "falcon" not being added? maybe that's the duplicate entry somehow?
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sat May 16, 2009 4:45 am

Smeg if I know. Still, my real problem is modifying the hash table through the list, for example, double-clicking on a specific item would make the item in the table reduce by 1, but... HOW to do that, is another thing entirely.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275

Post » Sat May 16, 2009 6:24 am

I don't think the 'clicked' or 'double clicked' event even work...
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Mon May 18, 2009 2:32 am

[quote="alspal":2uunoyan]I don't think the 'clicked' or 'double clicked' event even work...[/quote:2uunoyan]
Seriously? That's strange.
B
94
S
37
G
11
Posts: 404
Reputation: 11,275


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests