I have a 1D array. When i try do a simple math with the first element of the array, i got the same results.
Develop games in your browser. Powerful, performant & highly capable.
Could it be that the values in your array are strings?
Try int(Array.At(0))-1 if this work you have an array of strings
Thanks. that solved my problem. I read a file with tokenat, an without converting i directly put it into an array