How do I destroy all objects when reached certain angle?

Get help using Construct 2

Post » Wed Mar 01, 2017 10:03 pm

Hi all,
I have 8 objects, all the same.
I want to destroy them all once rotated to 180 degrees.
I want them all destroyed only when all of them are 180 degrees, not only one of them.

My problem: If I rotate only one of them to 180 degrees, all of them get destroyed.
Image
B
25
S
7
G
1
Posts: 200
Reputation: 2,530

Post » Wed Mar 01, 2017 11:09 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Mar 01, 2017 11:21 pm

Use Else.

For example:

- Object is not between 179-181 -> no events

- Else -> destroy

You can add trigger once after Else to optimize
You should also add a condition to pick all the objects at 180°, since Else doesnt pick them
B
65
S
22
G
4
Posts: 358
Reputation: 6,555


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 32 guests