Been toiling with this for a couple days now. I found a couple other threads on inventories, but none that helped me with this inventory.
http://www.mediafire.com/?k5zfd48m2t6w1g4
Here's the .cap for both programs. Ama Object Creator saves arrays for objects that I want to load into a player's inventory, the other program, AmaProgram, is the one I'm having trouble with, which actually keeps track of player's inventories.
I have two arrays set up, one's called ItemLoader, which I'm using to load arrays made by Ama Object Creator, the second is ItemList, which is the actual array of the current character's inventory.
I also have InventoryHash, which is something I was trying after looking at an inventory tutorial, but couldn't get that to work either.
Basically, I want my Add button to pull an array from the items folder, load it to ItemLoader, then move the information in ItemLoader into ItemList.
The arrays are 50x wide, and ItemList is 50x wide and really tall, I want ItemLoader to file items into ItemList by y, so the first item takes up 1-50x, 1y; second takes up 1-50x, 2y; etc.
And then I need "InventoryList", a listbox, to show every item in ItemList, and how many times it occurs.
Whew, that's a lot of stuff. Thank you in advance to whomever has the will to cure my noobness :p