How do I pause a Bullet object under conditions ?

Get help using Construct 2

Post » Sat May 09, 2015 11:31 am

Hi. I am making several buses (bullet objective) following a circle track. When bus is overlapping with passengers (sprite, randomly spawn) they have to stop for a few seconds, so passengers will get on board.

I can't get individual bus paused! whenever a single bus meet a passenger, all buses stop. I need only the bus that meets passengers stop, others should move normally.

This is my code right now
Image


Anyone has an idea on how to do this ? Much appreciated !
B
3
Posts: 2
Reputation: 179

Post » Sun May 10, 2015 7:14 am

Put it all under "for each" condition.
Image
B
82
S
30
G
12
Posts: 517
Reputation: 12,763

Post » Sun May 10, 2015 8:14 am

easiest would probably be only using your event 35 and after the third action add

* wait 1.0 sec
* set bullet speed to 50
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Sun May 10, 2015 2:02 pm

B
59
S
22
G
12
Posts: 209
Reputation: 10,049

Post » Sun May 10, 2015 11:34 pm

Adding "for each" works like charm. Thank you guys!
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: Karpakis and 10 guests