How do I make an object wait until I press start?

Get help using Construct 2

Post » Sat Feb 27, 2016 12:11 am

I want to be able to have something start firing bullets once the game starts, but not before the player presses start. The "Wait for signal" event wont make a looping timer wait, so I'm not sure how to do it.
B
4
Posts: 4
Reputation: 214

Post » Sat Feb 27, 2016 1:08 am

You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

https://www.scirra.com/manual/80/groups
Mistakes were made.
B
52
S
26
G
109
Posts: 1,607
Reputation: 61,635

Post » Sat Feb 27, 2016 1:19 am

You could run add "Add object to Target" when the button is clicked otherwise. But the option above would work too. I like disabling and starting groups... it's a good way to not check everything all the time
B
12
S
2
G
1
Posts: 42
Reputation: 879

Post » Sat Feb 27, 2016 1:36 am

Message: DWT12345 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
oosyrag wrote:You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

https://www.scirra.com/manual/80/groups

Hmm, I did this, but it still didint work. Am I supposed to put the events in the group in a specific order?
B
4
Posts: 4
Reputation: 214

Post » Sat Feb 27, 2016 1:47 am

DWT12345 wrote:
oosyrag wrote:You can activate and disable event groups. Put the events that are responsible for firing in a group, and have it disabled by default. When the player presses start, enable that group.

https://www.scirra.com/manual/80/groups

Hmm, I did this, but it still didint work. Am I supposed to put the events in the group in a specific order?


I think his suggestion was to have it start as a disabled group and then activate it when you click the start button.

My idea was to just add the action directly to the "Turret"
B
12
S
2
G
1
Posts: 42
Reputation: 879


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 32 guests