Heya. I've been trying for a long time to make global variables for my game but they just won't work. This is what I did:
- I made a script that included the variables, I made that script into autorun, then I added some functions and constants to that script. Right when I go to use it, I use a variable on the other script I want to use the variable and then just use autoload and the path of the script.
Now is when things get weird: the function and the constants do appear on the selection list and can be called, but variables won't.
Could anyone please help me? Thank you so much!