How do I destroy objects of the same name before moving on?

Get help using Construct 2

Post » Sun Apr 30, 2017 6:35 pm

How do I make it so that the player has to destroy ALL the objects (of the same name/destroy ALL copies) before moving on?
B
34
S
9
G
1
Posts: 628
Reputation: 3,904

Post » Sun Apr 30, 2017 7:00 pm

@guannstar

Use the system condition "Compare two values":


First value: yourObject.Count
Comparison: equal to
Second value: 0

Nest this within a "On yourObject destroyed" condition, so that it only checks when the object is destroyed, not every frame.
B
20
S
8
G
3
Posts: 458
Reputation: 4,055


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, JackTYGA, jobel, MeteoorSC, newt, worm1 and 28 guests