0 votes

I'm working on an EditorPlugin that adds a custom object type which stores a number of values in a dictionary. I'd like some of those values to be NodePaths relative to that custom object, but I don't want the end user to type them.

If I export a NodePath variable, it creates a handy Node Selection Widget that can be used to select a node from the currently-edited scene tree. I'd like that functionality, but I don't want to export variables -- the number of NodePaths I'd need is dynamic based on earlier actions taken when using the plugin.

How can I go about getting a FileDialog-like popup listing the currently edited scene's contents?

asked Aug 5, 2018 in Engine by Hammer Bro. (84 points)

Please log in or register to answer this question.

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.