Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
this is what im trying to do.
the expression does the first "Array.At" and then stops, ignoring all 5 other "Array.At".
any ideas?
Develop games in your browser. Powerful, performant & highly capable.
Are the values in a_items strings?
Colludium nope. small int values.
if I convert each Array.At into a separate variable first, and then add all these variables it works.
so it seems like some kind of multiple Array.At/expression limitation.
I've also experienced something like this before - and ended up using the same work-around that you've already found. I think it is a limitation of the c2 engine, although I've never seen any documentation to confirm that view...
Tried encasing the Array.At() in int() functions ? Maybe that'll force the calculation on numbers.