Delay node causes macro to stop executing

Here is a link to the Macro nodes. I am executing this after the OnDestroyed event, but everything works just fine when I remove the Delay node. I have tried deleting my Intermediate folder and restarting the editor, but I cannot seem to fix this. Any ideas?

You can’t use a delay node in the destruction code :). I think the moment the compiler sees this, it just bins the rest of the code.

1 Like

I know that you can’t use latent nodes in functions, but what about macros? My code originally executed properly, even with a delay node.

As far as I know macros containing latent nodes become latent themselves resulting in the same restrictions as the original latent node itself. Why are you not using a timer rather than the delay?

1 Like

You can use latency in a macro, no problemo. But you can’t have a delay in a kill sequence :slight_smile:

Ah, I see it now. The Delay node won’t work after I destroy the actor, and that’s what I changed.

1 Like