How do I reset local static variables?

Get help using Construct 2

Post » Tue Oct 10, 2017 9:21 pm

I use local static variables to keep the code short and efficient. When I want to restart a layout so that the player can replay the game exactly as it was, there is no option to reset local static variables, only glocal variables.

No, I don't want to convert every local variable into a global one.

How do I rest local static variables?
B
13
S
3
G
1
Posts: 93
Reputation: 1,481

Return to How do I....?

Who is online

Users browsing this forum: 25games, Ashley, dop2000, leotardozc, MadSpy, TRMG and 18 guests