Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | SawmillTurtle |
I’m in the middle of a project that allows a lot of different options to be set using exported variables. It is my hope that the script, when completed, will be of use to others and will be usable with little to no scripting. What I’m attempting to do now is export an array or an enum as a drop down list from which the designer can select an option. I’ve looked through the documentation and I haven’t found anything that points me in the right direction. I’ve also looked through the list of available nodes, and only found “ItemList” under “Control”, which isn’t what I’m looking for.
Is this something that Godot is capable of? I’m wondering if there’s a hint I overlooked that does this. Something like:
export var (DROPDOWNHINT) myList = []
I even Googled the subject and found only questions about how to make a dropdown list as part of a UI. If someone could shed some light on this, I’d be extremely grateful to you.