Hi, how can a make a widget (like a menu) that appear after 2-3 seconds after died,and not exactly in that moment.The function “delay” does not work on functions.Thanks!
Delay works on Functions, Delay does not work in Functions. What is dying - player or the enemy, I’d approach each differently - and what happens to the menu once they’re dead? Is the menu important?
Again, depending on what you’re doing, something as simple may work for you:
When an enemy dies, hide it, wait 3s, create a widget, destroy actor. Just make sure the widget can remove itself, too, eventually.
If this is for the player dying, just wait 3s and show a widget.