Godot Version
v4.2.2.stable
Question
I want to export a .tscn file in the path “res://scenes/enemies” so i can make a scene that uses the chosen enemy scene and instantiates a certain number of enemies of the chosen type, and i can’t figure out how. I know the FileDialogue class can specify which directory to choose from with root_subfolder, and @export_file can take the suffix of the file. I need this for developing the game, not for the player to use. How can i do this?
edit: I am aware that I can use @export_enum for this, but that would take a lot of time to setup, especially as i continue adding enemies. I’m hoping there’s a better way to do that