Enemy Spawning and using their variables in main script

Could you paste your entire script in a code block? So we can read it easier?

Make it easier for new users to format and preview code in their posts - #4 by gertkeno

I’m not sure that set_deferred (two rs, not two fs) is what you need since queue_free is already a deferred operation. set or call deferred waits till the end of the frame to perform the operation, be it calling a function via call_deferred(callable) or setting a value via set_deferred(proper_name, new_value)

1 Like