David Chen
Member
Say I had an array in a loop:
for (ii=0;ii<5;ii++){
msg[ii]=array1;
}
where global.msg would be a 1D array like: array1= ["hello", "world","more text!"]
How would you reference specifically array1[0] in the loops?
You can't do msg[ii][0] as this syntax doesn't work in GMS:2 but this is what I'm trying to get at. Is there an alternative?
for (ii=0;ii<5;ii++){
msg[ii]=array1;
}
where global.msg would be a 1D array like: array1= ["hello", "world","more text!"]
How would you reference specifically array1[0] in the loops?
You can't do msg[ii][0] as this syntax doesn't work in GMS:2 but this is what I'm trying to get at. Is there an alternative?