How do I loop through array at Y?

Get help using Construct 2

Post » Tue May 12, 2015 10:10 am

Hello

i have small problem...
mine array is set at 10:2:1 and looks like this:
0 (7,X)
1 (0,0)
2 (9,Z)
etc...

How do i set loop through array at Y and dump all thats not 0 to my variable?
I can do this for X but cant get it right when only Y is needed... :(

thanks!!!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue May 12, 2015 11:50 am

i'm not quite sure I understand the question correctly..
but...
capx<> http://s000.tinyupload.com/index.php?fi ... 3584953835

is this helpful?
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Tue May 12, 2015 12:29 pm

@korbaach

Thank you!!!
Very usefull example!!! :)
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: Cub3D, David181, Exabot [Bot], yiuyiu6666 and 26 guests