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: 5
Reputation: 235

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
46
S
16
G
79
Posts: 2,171
Reputation: 46,859


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], dand, mickclarke and 26 guests