Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
i need the 1 to change with the loopindex,
how do i write this?
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.
Develop games in your browser. Powerful, performant & highly capable.
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