formation.Value('pos1x')
i need the 1 to change with the loopindex,
how do i write this?
Develop games in your browser. Powerful, performant & highly capable.
This is not possible, you cannot change the name of the variable you want at runtime. You could try another data storing object, like Hash Table.
thanx for clearing that up
and what about this:
set variable targetx to
formation.ImagePointX("pos" & loopindex & "x")
in the text object i seems to say pos5x so thats ok but it doesnt give the value to the targetx var
ahh it works now
formation.ImagePointX("pos" & loopindex)
i was referring to a wrong name of the imagepoint