Hello everyone, im working with Godot roughly for more then a year already (time flys..), but in most cases i still feel
like im having no idea what im doing when it comes to scripts XD.. However, is there a way to add or remove a script of a node via script of its parent or main_scene? That could be a way for making nodes "sleep" or pause, wich would be very helpful for my project. Right now im thinking of something like: Parent(script)says: if Input.is_action_just_pressed(key): -> $Tank.script (var script= preload(any gd).
(some minutes later): Well i tried now, but it seems that its not connecting any signals from the node to the sript that i've added.
I don't even know if "set_script" is really adding a script.. even if the "var" is telling what to do.
