Hey! I'd like to know if I can override my own functions.
I have created a base script that contains the function "destroy()" that is called when an object is to be removed. At the root script it only runs "queue_remov()" but for some of the thing I'd like to play a sound and maybe a animation.
I'm guessing that if I just declare the function again on the child script it will not run because when it runs the parent code it will be removed before it gets to the extended part.
Am I right? How can I override the function as to re-write it? Is it possible? Should I just create a destroy_fancy() function and be done with it?
P.S.: I'm kinda new to godot. I tried searching to see if anything like this was answared and didn't find anything (just about overriding the engine functions) so if this was already asked before, sorry!