How do I check value of array in Construct 2

Get help using Construct 2

Post » Sat Jan 07, 2017 9:13 pm

The player is asked and in case of correct answer I want to do the X, else the Y. To have the correct answer case, I test for a button to be clicked AND a value of a 2D array to be 0 (if the 1st of the 4 buttons is pressed). If it's not 0, then it's the false one. However, it always acts like the array has the 0 value, thus always the first button is the correct one (this is not my intention).

I explain the situation and provide screenshots in [Check value of array in Construct]http://stackoverflow.com/questions/41526369/check-value-of-array-in-construct-2

Any tip appreciated,
George
B
4
Posts: 3
Reputation: 206

Post » Sat Jan 07, 2017 11:13 pm

I had to fill the array with Value: int(valueToInsert)
B
4
Posts: 3
Reputation: 206


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests