I want to set value of game variable before even clicking on "New Game" button. Here's a catch. I am using XS - Interacting script and i want to change value of initial timer from this script by using "Control Variables" event command. Problem is that script is crashing if value is zero, so in order to work I need to set game variable to some value, even before starting a game (i can't use Control Variable event command, because script is preventing game to start). In script i set...
I want to set value of game variable before even clicking on "New Game" button.
Here's a catch. I am using XS - Interacting script and i want to change value of initial timer from this script by using "Control Variables" event command. Problem is that script is crashing if value is zero, so in order to work I need to set game variable to some value, even before starting a game (i can't use Control Variable event command, because script is preventing game to start).
In script i set initial timer to game variable number two.
INITIAL_TIMER = $game_variables[2]
I tried setting game variable directly in script, but i get error (see attached picture).
I attached modified script, so you can see what i have done. Can someone please tell me how to fix this?
EDIT:Â I used "Default Variables by futrchamp" script in order to set value of game variable 2 before even starting a game, but i get same error
Protected download
script.txt