Using functions to destroy enemy

Get help using Construct 2

Post » Fri Feb 05, 2016 4:34 pm

I can't seem to make an enemy instance get destroyed through using a function. It makes all enemies get destroy instead. Is there a way to use a function to pinpoint a specific instance of enemy?

CAPX
https://dl.dropboxusercontent.com/u/73836006/TempDestroyBox.capx
Check out my games on Google Play:

BEAST ATTACK (850,000+ downloads!)

ZOMBIE BASH (Android) (Launched Feb 17)

ZOMBIE BASH (iOS) (Launched March 17)
B
45
S
15
G
2
Posts: 425
Reputation: 5,035

Post » Fri Feb 05, 2016 4:42 pm

Try this:
Image
B
23
S
3
G
1
Posts: 412
Reputation: 2,062

Post » Fri Feb 05, 2016 9:35 pm

Thank you!
Check out my games on Google Play:

BEAST ATTACK (850,000+ downloads!)

ZOMBIE BASH (Android) (Launched Feb 17)

ZOMBIE BASH (iOS) (Launched March 17)
B
45
S
15
G
2
Posts: 425
Reputation: 5,035


Return to How do I....?

Who is online

Users browsing this forum: hielo777, keeno79, smlyldz and 13 guests