On start of layout events...

Get help using Construct 3!

Post » Sat Sep 30, 2017 12:55 am

OK - I have a number of events that happen On start of Layout, but when the user loses all of their lives the global variables are reset and so all of the events of On start of Layout are replayed/reset when the user tries again.

But of those events there are one or two that I only want to happen the very first time the user opens the app.

How do I separate the two sets of events?
B
8
S
1
G
1
Posts: 51
Reputation: 1,002

Post » Sat Sep 30, 2017 4:10 am

A common trick is to just save the few globals into local variables, do your reset, then set the globals back again.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494


Return to How do I...?

Who is online

Users browsing this forum: 1pl1 and 1 guest