How do I verify if all instances was destroyed?

Get help using Construct 2

Post » Mon Dec 22, 2014 4:23 am

Self-explained title =P

I just know when any instance of the object is destroyed but not all.
Last edited by kossglobal on Mon Dec 22, 2014 4:32 am, edited 1 time in total.
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Mon Dec 22, 2014 4:31 am

check if sprite.count = 0?
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Dec 22, 2014 4:35 am

codah wrote:check if sprite.count = 0?


I can't use it because I don't know how many instances of this object will have. I mean, I know but there will be so many layouts with different counts that wouldn't be good idea.

Edit: Nevermind. I though I'd have to put the numbers everytime. I've tested it and works. Thanks!
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Mon Dec 22, 2014 5:09 am

cool
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests