|Topic was automatically imported from the old Question2Answer platform.
I have World scene, Enemy scene and Timer - when timer timeouts the Enemy scene is instantiated into World scene… now I need to know when the Enemy scene is queued free. So I created signal and emited it when Enemy scene is queued free - but how do I connect that signal to World script? I cannot do it through Node panel and via code there is hint connect(“Signal name”, callable) but the signal is not declared in World scene because the Enemy scene is instantiated during game.
Older tutorials for Godot 3 suggest get_parent() which is not possible now in Godot 4 and I also want to avoid those get_parent() things.