Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | pankeiks |
Hi,
I’m new to godot, working on my first project and I’ve come to a bit of a head scratcher. Pardon if my terms are not exactly on point.
I’m trying to find out if there is a way to export a variable that lists all of the child scenes of a scene that the current scene is in.
It’s a mouthful, but to make it easier - I have a scene (LocationNode) that I place in another scene (MainWindow). I want to reuse the LocationNode so I wouldn’t have to create a new scene for every location since they serve the same purpose.
The export is needed so I could select another LocationNode that the current one is connected with. Sort of like making a binary tree:
Sorry if my explanation is a bit confusing, my closest experience with an engine like godot comes from GameMaker and it has a seperation between objects/rooms, where as here everything seems to be a scene.