Hi, I want a time system in my game split into Morning, Noon, and Night. When searching how to display variables as text i found this code: $gameVariables.setValue([variable],"[text]"). But when applying to my game it crashes (variable 2 is the time), $gameVariables.setValue(2,"Morning").
The error is a SyntaxError, with the message of Invalid or unexpected token. I tried to read the console but I sadly cannot understand any of it
It also hopefully shouldn't be due to any of my plugins, I turned off all the ones I added.
Any help is appreciated and sorry for posting after posting yesterday.
Thank you.
Here's the actual event and console as well:
The error is a SyntaxError, with the message of Invalid or unexpected token. I tried to read the console but I sadly cannot understand any of it
It also hopefully shouldn't be due to any of my plugins, I turned off all the ones I added.
Any help is appreciated and sorry for posting after posting yesterday.
Thank you.
Here's the actual event and console as well: