I'm trying to read some variables in the console, using the following script command:
console.log("Logging variable 2. Value is " + $game_variables[2]);
On triggering the script, I get 'ReferenceError: $game_variables is not defined".
Having done a little searching, I haven't found another way to access game variables. It seems to be either '\v' in a text window or $game_variables in scripts.
If anybody has any idea how to read the switch states, variables etc. in the console, I'd appreciate your sage advice!
console.log("Logging variable 2. Value is " + $game_variables[2]);
On triggering the script, I get 'ReferenceError: $game_variables is not defined".
Having done a little searching, I haven't found another way to access game variables. It seems to be either '\v' in a text window or $game_variables in scripts.
If anybody has any idea how to read the switch states, variables etc. in the console, I'd appreciate your sage advice!