I have a script which extends Node that loads up via Autoload. It contains some functions and some var's defining a few things.
Sample:
extends Node
var atimer; var curmap=0
var current_scene = null
func test():
pass
I'm able to call these functions anywhere else within the scope of the project.
Global.test() <---- works fine from any node, any scene ...
But when I try to access the defined variables I get no auto completion nor can I get the variable from anywhere.
var something = Global.curmap <----- does not work.
Why are the functions in this Autoload script file visible elsewhere but the variables it contains are not scene?