Array Question

Get help using Construct 2

Post » Mon Nov 12, 2012 8:37 pm

In pseudocode kind of:

for i = 0 to 8 do
array[i%3,floor(i/3)] = i+1

Something like that, off tip of my mind.

Actually, even simpler, in the for every element loop, just set the current value to x*y. If zero indexed... (x+1)*(y+1)Mipey2012-11-12 20:39:36
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Mon Nov 12, 2012 11:07 pm

Is this you want? http://d.pr/i/OmoE7Soul2012-11-12 23:07:34
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Tue Nov 13, 2012 11:19 am

Strange! The OP seems to have deleted his post, I was responding to him, I did not start this thread!

@Tom, you may want to investigate this.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Nov 13, 2012 1:08 pm

Haha sorry about that. I figured it out and tried to delete the topic, but instead it just deleted the OP. I'm assuming this happened because I deleted the topic after you posted, but before refreshing the page to see it.
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 0 guests