Good, I will try to explain my problem to see if we can resolve it. I'm very sorry but there are English speaking and I'm using a translator.
I'm a programmer and maybe for that reason I'm trying to do something actually done otherwise.
I'm trying to cycle in array to MINIMIZE the task in case you want to add or expand the level of mines or buildings.
We started taking two mines. Wood and Glass. We create two variables to see what levels are in the game.
We create an Array and introduce some data.
Array( 0 , 0 ) = "cristal" ; this is a text string
Array( 0 , 1 ) = "metal" ; this is a text string
Array( 1 , 0 ) = cristal_LVL ; This is a variable
Array( 1 , 0 ) = metal_LVL ; This is a variable
El Array.X = 0 equals strings
El Array.X = 1 are variable
I show pictures of the project.
As a non-English speaking and I do not get how to explain what I want to achieve. You had better put trying to explain what I want a photo.
You could say that what I want is, instead of choosing a variable.
Assign a value has a variable but we walk on an array.
Really sorry, I hope you understand me because the images without knowing English I can not express what I want to accomplish.
I hope your help Thanks.