hi,
i have a little problem to find a value in an array.
I have this Array :
{"c2array":true,"size":[2,21,1],"data":[[[-50],[-47.5],[-45],[-42.5],[-40],[-37.5],[-35],[-32.5],[-30],[-27.5],[-25],[-22.5],[-20],[-17.5],[-15],[-12.5],[-10],[-7.5],[-5],[-2.5],[0]],[[0],[5],[10],[15],[20],[25],[30],[35],[40],[45],[50],[55],[60],[65],[70],[75],[80],[85],[90],[95],[100]]]}
i know only the Value of Y in X0
X0, Y = -17.5
X1, Y = 65
but i have a value of -17.5 , how to find the attached value in X where i know only -17.5 ?
Is it possible to have this value ?
Develop games in your browser. Powerful, performant & highly capable.
You mean something like:
array current value = -17.5
set text : array.at(array.curx+1,array.cury)
LittleStain, thanks you very much, works perfectly with your exemple <img src="smileys/smiley20.gif" border="0" align="middle" />