How do I kill only 1 enemy

Get help using Construct 2

Post » Thu Feb 12, 2015 10:40 am

Hi when i kill 1 enemy all enemies dies with him. How can i kill only 1? i just copy pasted the enemies so they have the same code and all.
B
11
S
3
G
1
Posts: 411
Reputation: 1,766

Post » Thu Feb 12, 2015 12:21 pm

You can use 'for each' for that. It's explained in this thread: viewtopic.php?f=147&t=92255
Hope it helps!
B
8
S
4
Posts: 120
Reputation: 1,266

Post » Thu Feb 12, 2015 1:42 pm

Be sure your enemy is properly picked before you destroy it.
B
12
S
6
G
2
Posts: 99
Reputation: 1,727

Post » Thu Feb 12, 2015 11:58 pm

solved : instance variables
B
11
S
3
G
1
Posts: 411
Reputation: 1,766


Return to How do I....?

Who is online

Users browsing this forum: Morcego and 8 guests