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 (960,000+ downloads!)

ZOMBIE BASH (Android) (Launched Feb 17)

ZOMBIE BASH (iOS) (Launched March 17)
B
50
S
15
G
2
Posts: 427
Reputation: 5,164

Post » Fri Feb 05, 2016 4:42 pm

Try this:
Image
B
24
S
3
G
1
Posts: 445
Reputation: 2,153

Post » Fri Feb 05, 2016 9:35 pm

Thank you!
Check out my games on Google Play:

BEAST ATTACK (960,000+ downloads!)

ZOMBIE BASH (Android) (Launched Feb 17)

ZOMBIE BASH (iOS) (Launched March 17)
B
50
S
15
G
2
Posts: 427
Reputation: 5,164


Return to How do I....?

Who is online

Users browsing this forum: BrokenHuman50, Hiddendanger, vegapomme27 and 9 guests