if array contains "this" then set at X/Y "that" (need help)

Get help using Construct 2

Post » Wed Nov 04, 2015 12:23 pm


I'm using array for generating a house.
I have a "stairs1" somewhere in my array, how do I retrieve it so I can set a "stairs2" above it ?

What I have so far (and not working at all):
On start of layout
For each XY elements
Value at Array.curX, Array.curY = "stairs1" ----> set value at Array.curX, Array.curY+1 to "stairs2"
Thank you if you can help !

EDIT: got it working, was a stupid mistake somewhere else...
Lunar Mission for Android & iOS
Posts: 44
Reputation: 1,365

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests