dear — thank you very much for your time and trying to help me here!
So... it's not that I'm scared of Array I just tried it few times, with the Editor, ajax, etc.. and instead of make everything easy and visual as it looked (visual spreadsheet) it was super complicated for me to setup and I didn't even understand how to play with all the numbers around.
Now, I'm trying again because I guess I have no other choice using a random comment to just ignore or look only on specific items (which is bad news for me) and I'm trying following your instructions but I also try to implement it to my current game... and it is still very confusing:
From your very first explanation, I did understand the X on Y and I'm not even sure if I need z for depth on my case because I believe 2D Array will do the job) but anyway, as you can see from my understanding I made 0,1,1 because I want 0 = No Item (default).
It looks just like a nice list on the debug, it was easy to follow and most important to understand that that order I put them on the event sheet is the same order that they will count, so far so good!
Now the confusing part begins, and I don't even know if I should go there and waste your time since it's probably hard for me to not get how Array works (not the X,Y for 2D array use... but in general).
Originally I have this: "Items_Common" which is a sprite that contain 5 animations, you can see their names on the image above as I named them exactly on the Array.
So far everything make sense with the names and the order which is the same on the Array and the Animations.
So I tried to keep follow you on the part you explain: "To Pick at random you run the action.."
I do understand that floor (will get the closer to 0) and the random range I guess this is new to me with the 1,array.width so if I got the idea it supposed to pick from:
1 = the X of the array, "array" is the name of my array, width = the amount of the x (6 total in my case including 0) and it will start from 1 to 6 since we didn't count 0.
Am I close to understand it so far? I'm not sure that's why I'm asking.
Once you start explaining: "The number that is returned you can then grab.." is where I got lost.
I'm starting to scratch my head, OK but where are the properties of each item? how do I control them? how do I see every item's name and property visually on the event sheet and how do I tweak anyone at anytime easily like I did so far without the array... so many questions and confusion just because Array is not visual to me (and I don't like the Array Editor setup, it was hell for me) so I'm trying the good old fashion Array as you suggested, what I see from the array are these items names in a list, so the (variable.0) is ("Item_Number".0) what am I doing with this and how do they connect with my "Item_Number" and I'm not following since there.
As you can see, Arrays are probably not for my simple visual brain.
I gave up on Arrays many times because of the same reasons, and once again.. I got lost easily after reading your post few times.
Please don't get me wrong, I believe that your example and explanation are amazing and 99.9% will understand and follow it easily... unfortunately I'm not that smart and that's why I can't get it and even if I would, it will be so hard to work with such system since it's not visual at all.
I guess I will have to try some other visual ways, maybe spreading the item instances like the other suggestions since I already have a dedicated layout for items, so it will be the most visual on both the Layout and the event sheet (not sure how to do it yet but I must find a way).
Once again, thank you for your time I appreciate it a lot!