RPGMaker MV uses some complex global variables, like $gameVariables, which are objects, or arrays, or arrays of objects. I'd like to do the same, but I can't figure out how to declare my own global variables to do the same thing.
I tried writing a script to do
but when I tried to check the value of $Test, it came back undefined.
Is this even possible? Should I be looking for an alternative method for this? Have I run myself down a wild goose chase? Or is there actually a way to do this?
Any help is greatly appreciated!
I tried writing a script to do
var $Test = "value";but when I tried to check the value of $Test, it came back undefined.
Is this even possible? Should I be looking for an alternative method for this? Have I run myself down a wild goose chase? Or is there actually a way to do this?
Any help is greatly appreciated!