How to perform an action at the end of "for each X element"

Get help using Construct 2

Post » Thu Aug 24, 2017 9:35 pm

I am populating an array, then using each member in the array.

At the end of this loop I want to destroy the instance of the array.

I can't just look for the size of the array to be equal to 0 (zero) because the array starts out empty, before I fill it.

Any ideas??
B
5
Posts: 7
Reputation: 239

Post » Fri Aug 25, 2017 12:58 pm

Don't check if the array size is equal to 0 until you've started populating it.
B
48
S
19
G
84
Posts: 2,289
Reputation: 49,957


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests