How do I pick up some objects to destroy?

Get help using Construct 2

Post » Thu Sep 22, 2016 3:13 am

I create 15 objects from 1 sprite, each one of them has an instance variable named "ob" with these values 0,1,2,...,15. I want to destroy some objects.
I tried:
compare instance variable :: destroy

Image

but all objects will be destroyed, I only want to destroy some objects, not all. How Do I Do That?
file capx https://drive.google.com/uc?export=download&id=0B8g2b8f9ktNBRnpHS3J3aVp1MG8
B
37
S
18
G
18
Posts: 66
Reputation: 12,003

Post » Thu Sep 22, 2016 3:43 am

Image

replace Compare two values with Pick by comparison
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Thu Sep 22, 2016 3:47 am

korbaach wrote:Image

replace Compare two values with Pick by comparison

I got it, Thank you very much ! :mrgreen:
B
37
S
18
G
18
Posts: 66
Reputation: 12,003


Return to How do I....?

Who is online

Users browsing this forum: t redeemed t and 8 guests