If I want to loop through an array, using a field from it to provide the variable name, and another field to provide the value, how would I do it?
More to the point (and this is the conclusion I'm coming to...), can I even do it in C3?
Develop games in your browser. Powerful, performant & highly capable.
The variable no, the value yes
It better to ask how to do something than to ask how you think it should work.
yea, you just use array.At() to get the content of a cell.
I'm not sure I fully understand
If I understand a little bit you want to loop and receive the variable name and value, example: Life - 50. If so, the dictionaryshould help you.
Ah yes! Thanks LogicArts, I think you're right. I could search by Key and then get the value.
I'll see what I can do with that.