Loading Screen Tips

Hello,
How would I go about displaying tips in the loading menu?
I am wanting to add some tips during the loading screen and just wanted some ideas on how to do it.
I am thinking of storing these tips in an Enum and calling that randomly in the UI text.
What do you all think?

Have them in a data table and get a random row.

2 Likes

Thank you! Will do some testing using a data table


this is what I have so far

I would suggest watching this quick video to learn all about Data Tables and how to use them.

And you can use the “Get Data Table Row Names” node to get all the row names in the Data Table.

1 Like

Thank you! that seems to work!
Though when its attached to the text box it cycles through everything in the DT, perhaps if I were to clamp it?

1 Like

You’re probably using a loop, removing it should fix it.

Thank you for helping!
I dont see any looping here that would be causing it to loop

Perhaps you could then explain how this function is called.

1 Like

of course!
I am not calling is per say, but this function is a bind event for a text box for a loading screen

They execute every frame. This is then generating 60 / 120 randoms per second, depending on how fast the game is running. As a general rule of thumb, avoid function binding.

Generate the tip text when needed only and then set the text block to show it.

2 Likes

Ah I see! I didn’t know they execute every frame.
Though the only way I could find to set the text block to show text way via a bind

Flag the text block as variable:

image

So you can then access is directly:

Hard to advise more precisely without knowing how / when the widget gets created / needs updating.

1 Like


so the text block is flagged as a variable, I dont see how to imitate the set value with target as well as text.

The loading widget is the same as the cropout sample that Epic released recently, hope that helps

No idea what that is. If you wanted the widget text to be random when this widget is created, all that is needed:

To assign values to widget fields, you drag a wire and then search for what is needed:


Here’s are 3 example of assigning text to widgets:

They advice is not to use 1 & 2, and rightly so. Function binding and variable polling happens every frame. No need to do something 60 times per second when it can be done once. Easier to debug, too.

2 Likes

Yay it works! Thank you very much! I didnt know there was the method of assigning values to widgets!
Really appreciate your help!

You will probably see me post a lot more in the community, so dont be a stranger

2 Likes

Could you point me in the right direction?

Of course, here is a link. I am using this for the base of my project as it contains a lot of solid building blocks but there is a lot to build on.

1 Like

I’ll run out of life before I learn all the features.
:heart: :heart: :broken_heart:
They just keep coming…

I believe you can learn all the features!