Fill array row with value

Get help using Construct 2

Post » Sun Sep 06, 2015 7:32 pm

Hi. How to fill array row on x0,yALL with value = 1 ? Think this is about expressions, but didn't get it a little bit.
B
6
Posts: 11
Reputation: 280

Post » Sun Sep 06, 2015 8:13 pm

You need to use a loop to do this -- specifically, loop through the height of the array and set each element in the desired column sequentially. Here's an example.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106

Post » Sun Sep 06, 2015 8:29 pm

linkman2004 wrote:You need to use a loop to do this -- specifically, loop through the height of the array and set each element in the desired column sequentially. Here's an example.

Thanks!
B
6
Posts: 11
Reputation: 280


Return to How do I....?

Who is online

Users browsing this forum: Cha0tiXGamer, Google [Bot], ketramtu18, MaujDeveloper and 10 guests