How to make enemies die

Get help using Construct 2

Post » Thu Jan 23, 2014 6:09 pm

Right now when the enemies health is equal to or less than 0 it switches the animation to Dead, and then after 12 seconds makes them dissapear. The only problem is, when one dies, suddenly all their animations change to dead, they freeze, then all dissapear. They all die from 1 dying. How can Ic hange this?

Bullet On collision with enemy -60 from health (100 total)

If Health <= 0 then switch anim and disable movement

But when it does that it disables movement for all and switches all them to dead. How can I fix this?
B
1
Posts: 6
Reputation: 137

Post » Thu Jan 23, 2014 6:21 pm

add a condition

for each enemy
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 » Thu Jan 23, 2014 6:22 pm

How do I make the condition for each enemy? ( All the enemies are the same ) There is a spawner spawning them in.
B
1
Posts: 6
Reputation: 137

Post » Thu Jan 23, 2014 6:27 pm

For Each Enemy
If Health <= 0 then switch anim and disable movement
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 2 guests