Download

Time & Text

Hello everyone! I’m a student in college learning UE4. I’m working on my final at the moment and one of the things I need to implement is a way of informing the player what the controls are. As I have it right now, when the player overlaps a certain trigger box, text will appear to the hud. That works great and all, but I’m wanting the text to fade away after a certain amount of time and removed from the HUD. And then if the player tries to walk over that trigger box again, nothing will happen. That’s the part I’m having trouble with though. Anyone have any suggestions? Thanks :slight_smile:

Hello,
Welcome to the community ^^ To have event firing only once, you can use a bool “done” as condition of branch. on false set it “true” and do event.
You can use a delay and then set visibility or if you want to fade, i suppose you’ll have to use a dynamic material instance with a parameter set on alpha (not sure about this one).

Awesome! Thanks! Didnt consider that lol :smiley:

There’s also a ‘DoOnce’ node you could use (here) :slight_smile:

For the fading, is your text box a physical object or is it a UMG widget?