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
58
S
16
G
3
Posts: 273
Reputation: 6,257

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
72
S
22
G
288
Posts: 3,862
Reputation: 158,460

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: fbarraza28, SERGIOManOwaR and 6 guests