Make a bullet object stop and go when enemy destroyed

Get help using Construct 2

Post » Tue Jan 10, 2017 7:41 pm

Hi all,

I was wondering.. how can I make a tank which has bullet behavior resume its speed after he has stopped to destroy an enemy?

Image

That's the part I have now.

The T70 tank shoots every 6 seconds at the enemy 'Gun1Frame'. It takes two hits ( -50 health each time) before the Gun1Frame is destroyed.

I can get the T70 tank to shoot at the Gun1Frame two times before it destroys it, and get it to stop to fire at the enemy, but it just won't resume its path again after destroying the Gun1Frame.

Thanks for any help, if you need any more info, I can post it.

-R
B
13
S
7
G
4
Posts: 143
Reputation: 3,581

Post » Tue Jan 10, 2017 7:53 pm

Try with:
Enemy->On Destroyed->T70->Set speed -> 100 (or whatever you want)
B
11
S
3
G
1
Posts: 34
Reputation: 872

Post » Tue Jan 10, 2017 7:55 pm

Or with multiple:
Enemy->Is visible(invert)->T70->Set speed -> 100 (or whatever you want)
B
11
S
3
G
1
Posts: 34
Reputation: 872

Post » Tue Jan 10, 2017 8:18 pm

Thanks Kaveljo!

Your first solution worked like a charm. It was so easy, too.

Image

That's what I changed/have now.

Thanks again!
B
13
S
7
G
4
Posts: 143
Reputation: 3,581


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 25 guests