Resort the array

Get help using Construct 2

Post » Wed Jul 18, 2012 1:34 pm

I have an 1-dimession array that have 4 width.

The array convered with four randomed values.
3 1 4 2

When i delete an element at the second position (1), the array will become like this:

3 null 4 2

So how can i resort it like this:
3 4 2

Thanks in advance.
B
35
S
9
G
5
Posts: 174
Reputation: 5,916

Post » Wed Jul 18, 2012 3:55 pm

are you sure your using the delete function of the array? it should remove it entirely not leave an empty position
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Wed Jul 18, 2012 4:23 pm

Aridale is right.hylists2012-07-18 16:28:06
B
19
S
5
Posts: 51
Reputation: 1,883


Return to How do I....?

Who is online

Users browsing this forum: selaus and 0 guests