Why does a global variable change between layouts?

Get help using Construct 2

Post » Sat Oct 25, 2014 2:41 pm

Hello!

I have a global variable that is changed to a certain value on the 1st layout. When u continue to the second layout, the global variable changes back to the initial value. I have nothing in the eventsheet that could do that.

Has anybody an idea, how to fix that?

Thx in advance,
Sophia
Current Mission: improve design skills
B
8
S
1
Posts: 57
Reputation: 1,003

Post » Sat Oct 25, 2014 2:50 pm

Solved it. I had the "reset global variable to default" at "start of layout" on the event sheet.
Current Mission: improve design skills
B
8
S
1
Posts: 57
Reputation: 1,003


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Congrats2u, David181 and 15 guests