Hi All,
After searching the forums for quite awhile, and completing the C-script workshop, I am unable to figure this out:
array[n].property = "some_value";
Is this possible? A multi-value array/hash object?
Here's an example:
inventory_slot[1].item = "Bug Juice";
inventory_slot[1].value = 225;
inventory_slot[1].quantity = 6;
inventory_slot[2].name = "Soiled Diaper";
inventory_slot[2].value = 9785;
...etc
I here's code that doesn't return errors, but is unusable:
var inv_slot[4];
inv_slot[0].name = "Sword";
I really appreciate any help or ideas on this.
Thank you all very much.
-Aaron