Hello. Could I get an explanation on how to do 2D arrays? I'm trying to design a map that could store the position of objects on it. I know how to do one array with variable[cloneindex] and stuff like that, and I might have to use that or something else, but how does one type an variable with a two dimensional array? Or better yet, how does the two dimensional array system work?
To those of you out there, I am not dead. I am a ghost! There is a difference! Currently Working on: Parts, A self-assembling adventure
You reference it in the same fashion when setting the values. The 10 in this case would be the actors you are holding the positions of, and the 2 would be the two values you want to hold. Below is one method of storing the positions.