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
50
S
14
G
3
Posts: 710
Reputation: 5,974

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
24
S
9
G
4
Posts: 515
Reputation: 4,472


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests