Expose get_autoload_list to gdscript#89198
Expose get_autoload_list to gdscript#89198vaartis wants to merge 1 commit intogodotengine:masterfrom
Conversation
08ab768 to
efe2e4d
Compare
efe2e4d to
5fefda4
Compare
|
Although I'm not vehemently against this, could you provide the use case you need this for, and preferably open a Proposal to gather user interest? It is kinda possible to do this already, by opening the raw |
|
My specific use case for this is as follows: I have a function that loads saved data for some scene. Together with that I need to also load data into some auto-loaded nodes, of which there are several. I'd like it if I could have a list of those. Admittedly this could be worked around, but since this function already exists it makes sense to me it should be exposed. I guess I can open a proposal but there is already one that includes that one function and some others, it turns out godotengine/godot-proposals#4854. And another one that is specifically about this functionality but under a different name godotengine/godot-proposals#3705 |
5fefda4 to
0745c44
Compare
0745c44 to
8026cf4
Compare
Mickeon
left a comment
There was a problem hiding this comment.
Documentation about this feature is entirely fine, if that was a bother.
8026cf4 to
7e16412
Compare
|
Rebased on master and fixed the conflicts. |
7e16412 to
98f3c0e
Compare
Expose get_autoload_list as a typed array to gdscript, since gdscript does not have an ordered array type. It's useful in GDScript too (I'd just tried to find something like this for my own project and saw it wasn't available in GDScript), so it should probably be available.