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
28
S
5
G
1
Posts: 594
Reputation: 3,286

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
16
S
7
G
3
Posts: 395
Reputation: 3,693


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 7 guests