I have an area node that represents a dig site in my game. I want to instance more than one of these dig sites so I duplicated the first one to make two. When I run the program the first dig site works as designed and even queue_free()'s itself after its empty but the second one does not do anything as designed. Both dig sites mostly use local variables to them also.

perhaps its the code but I think there is something bigger about duplicating things that I am unaware of. This dig site node comes from its own scene and Duplicating the node is the only way to get the signals to be connected quickly.

What is your code for duplicating the dig site?

@Azedaxen said: What is your code for duplicating the dig site?

there is not any code, I am just right clicking the node and duplicating it as of now.

I'd recommend connecting the signals through code rather than through the editor, so you can for sure control how each signal is connecting. It is likely that the duplicate is connecting signals to the wrong set of nodes, the non-duplicated ones rather than the ones that are under it.

Yeah, the signal thing is a possibility. Could you show us code or your node setup maybe? I'm not quite sure what it could be just from your description. Another possibility is that you have a nodepath that only works on the first instance, duplicate scenes should be able to function correctly independent of each other.

2 years later