How do I delete all objects of same name?

Get help using Construct 2

Post » Sat May 21, 2016 3:26 pm

I have two objects of same name.
If the player touches one of them, I want them both destroyed.
How to destroy both objects which have the same name?
B
25
S
7
G
1
Posts: 201
Reputation: 2,532

Post » Sat May 21, 2016 3:45 pm

use "pick object" by condition or "pick all" of object, but call thru function so there will not be object context.
Image
B
57
S
15
G
3
Posts: 266
Reputation: 6,108

Post » Sat May 21, 2016 5:22 pm

I just tried to find pick object or pick all or function and it does not show anything.
B
25
S
7
G
1
Posts: 201
Reputation: 2,532

Post » Sat May 21, 2016 5:23 pm

System:Pick by comparison
ImageImageImage
B
71
S
22
G
274
Posts: 3,826
Reputation: 151,295

Post » Sat May 21, 2016 5:25 pm

Thanks! It worked! :D
B
25
S
7
G
1
Posts: 201
Reputation: 2,532


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests