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
Is there a way to directly set the size and the values using IArrayInstance? I read the below but I am not sure what the appropriate syntax is.
I have already figured out how to pass information back to the event sheet using runtime.callfunction. Is this required to pass a string of the array back to be handled in the event sheet somehow to become an array?
Thanks in advance for any advice!
Solved my own problem...
Was getting the syntax mixed up.
I just looped through my array in java script calling the below and it worked.
runtime.objects."your array name here".getFirstInstance().setAt(val, x, y, z)
Develop games in your browser. Powerful, performant & highly capable.
Hey just wanted to say thanks for posting this.