I have searched, I am new to RPG maker and I have spent far too long trying to figure out what is wrong, so sorry if its a really simple problem.
I am trying to set up a day counter. I dont care about changing days automatically, it happens when a player interacts with a bed, but thats beside the point.
So I have an event that auto runs that should create and set the Day to 1 but when the game starts its always 0.
I created an event to increment the day, but even then nothing happens.
I added a switch to the auto run event in the hope that would make a difference and it didnt.
Any advice? I am sure its a simple fix!
EDIT: I found the issue, in my game_variables script, @data[variable_id] = value was set to @data[variable_id] = 0.
This can be closed now thanks

I am trying to set up a day counter. I dont care about changing days automatically, it happens when a player interacts with a bed, but thats beside the point.
So I have an event that auto runs that should create and set the Day to 1 but when the game starts its always 0.
I created an event to increment the day, but even then nothing happens.
I added a switch to the auto run event in the hope that would make a difference and it didnt.
Any advice? I am sure its a simple fix!
EDIT: I found the issue, in my game_variables script, @data[variable_id] = value was set to @data[variable_id] = 0.
This can be closed now thanks
