im basically trying to make the current scene change using a func named load_level_scene_index(that iknow it works)when a dialgue stops i am already using the func on_dialogue_ended(that also works because the print inside is working) but it seems like i can’t use load_level_scene_by_index in this code so what shoud i do? thanks
Is there any chance your loadable_scenes.size() is less than or equal to 1? If you only have 1 loadable scene then your index will be out of bounds.
It seems like all of your return null statements should produce errors, you could use push_error to print out an error message before returning null, that should help highlight what the issue is, rather than silently failing.