0 votes

Hi,

so autoloads are loaded right at the beginning, correct? Are they affected by functions such as gettree.changescene() ?

I ask because one of my bools in an autoload seems to change if i change scenes, yet the only time it actually changes its value is when it gets initialized.

Godot version 3.2.3
in Engine by (40 points)

1 Answer

0 votes

Autoloads are not affected by the SceneTree.change_scene() method. You probably have something else that's affecting the variable.

by (7,190 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.