How do I Fix This?

Get help using Construct 2

Post » Sun Jan 24, 2016 4:51 pm

Every 60 seconds my game creates an enemy, but if there is 2 of them and i kill one, they both die! How do I fix this?
I don't think I could ever stab someone, I mean, let's be honest. I can barely get the straw into a Capri Sun.
B
23
S
10
G
7
Posts: 91
Reputation: 6,330

Post » Sun Jan 24, 2016 5:13 pm

Seems like you don't pick which enemy should be destroyed..

Read the part about unreferenced objects..

What event are you using for the destroy action?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 24, 2016 7:35 pm

Event,
Enemy Health is less or equal than Zero
Action,
Enemy Destroy
Add 5 to Coins
I don't think I could ever stab someone, I mean, let's be honest. I can barely get the straw into a Capri Sun.
B
23
S
10
G
7
Posts: 91
Reputation: 6,330

Post » Sun Jan 24, 2016 7:35 pm

I still don't understand
I don't think I could ever stab someone, I mean, let's be honest. I can barely get the straw into a Capri Sun.
B
23
S
10
G
7
Posts: 91
Reputation: 6,330

Post » Sun Jan 24, 2016 7:40 pm

Try "For each Enemy", then Enemy Health <= 0, etc...
ImageImageImage
B
71
S
19
G
180
Posts: 3,482
Reputation: 103,185

Post » Sun Jan 24, 2016 9:25 pm

Thx so much it works now!
I don't think I could ever stab someone, I mean, let's be honest. I can barely get the straw into a Capri Sun.
B
23
S
10
G
7
Posts: 91
Reputation: 6,330


Return to How do I....?

Who is online

Users browsing this forum: bigcatrik, RetroSpock, TRMG, zenox98 and 1 guest