Opening external scenes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By keenfoong

Is there a way to open external scenes from the file system? Either as from windows or from android.

The reason I want to do this is that I want to create these little packages that you can download (gdscript ads if you will) which will run these little scene ads with animations and text. Another reason for having these online is that I might want to change these campaigns from time to time.

Is it possible to run scenes/nodes from external files?

:bust_in_silhouette: Reply From: Dlean Jeans

Yes. This works for me:

get_tree().change_scene('user://External.tscn')

External.tscn is located at:

C:\Users\Me\AppData\Roaming\Godot\app_userdata\ProjectName

You can also open that folder by clicking Project > Open Project Data Folder.

Dlean Jeans | 2019-07-03 16:08