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
10
S
3
Posts: 64
Reputation: 1,267

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
10
S
3
Posts: 64
Reputation: 1,267


Return to How do I....?

Who is online

Users browsing this forum: inozz and 3 guests