How do I Array This?

Get help using Construct 2

Post » Fri Jan 02, 2015 8:06 pm

I want to store pairs of UID in array. For example,
UID enemy A - UID box A,
UID enemy B - UID box B,

Should I use x array
x: value UID enemy A, UID box A.

Or I use x,y array?
X: UID enemy A
Y: UID box A
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Fri Jan 02, 2015 10:01 pm

Well, if you have more than one value per imaginary row then it's a x,y array.

So in your case it's like:
__0, 1
0: A,B
1: A,B
2: A,B
etc.
B
19
S
6
G
7
Posts: 1,101
Reputation: 6,146


Return to How do I....?

Who is online

Users browsing this forum: 25games, brunopalermo, dop2000, Google [Bot], maranpis, oosyrag, Yahoo [Bot], zill and 22 guests