Detect if there are any instance of any obj from Family ?

Get help using Construct 2

Post » Tue Aug 11, 2015 4:40 pm

I have a Family that contains ALL the different enemies in it.
Before the player can end the stage, I want the player to kill off every single of those different enemies that are part of a single "Enemy" Family.

Is there a way to detect if there are Zero instances of any object from within the family on stage hereby confirming that all enemies are destroyed ?
B
12
S
3
Posts: 288
Reputation: 1,694

Post » Tue Aug 11, 2015 5:14 pm

Check Enemy.Count = 0
ImageImageImage
B
71
S
22
G
247
Posts: 3,756
Reputation: 137,558

Post » Tue Aug 11, 2015 6:11 pm

Thanks !
B
12
S
3
Posts: 288
Reputation: 1,694


Return to How do I....?

Who is online

Users browsing this forum: facecrime and 8 guests