Why delay didnt working in some sequence?

Hello. Me interesting, why delay didnt working in this situation?

Im changing places from pin 0 to pin 1, and past in end of play sound node this is still didnt wokring. But when im past deley befor play sound Evrething working fine. Why this is can be? And how i can solve my problem?

did you use the debug feature to check how fast the delay node pass off signals?(orange flashing dotted line)
also, since your logic involves destroying the object itself. Maybe disconnect the destroyActor node first to make sure everything works fine before you added it.
functions in UE4 must return before any following nodes are executed, so I would suspect that delay did run fine, but the perceived result is not.

1 Like

Thx. Everything working now:-) Happy new year!!!

To explain - what happens is that when a DELAY is hit in a sequence, it will automatically fire the next pin in the sequence (which means they are not true sequential). So any delay that isn’t on the last pin will not properly work. Which is why your second code version works, but your first doesn’t.

2 Likes