I’m working on a joke teller in Unreal Engine that displays a random joke letter by letter when you click a button in the UI. It works similarly to the text effects in Undertale, where each letter appears with a sound and a delay.
Here’s the issue:
When I pass a string through the “Get Character Array from String” function, the resulting array has some letters missing or out of order. I’ve double-checked my input string, and it seems fine before the conversion.
I tested and manually fed the function some special characters, and that worked perfectly. The issue only occurs when I connect the function to the convert from text node
you’re calling the GET twice. Once to print the random joke, and once to make the array. The array almost certainly does not contain the same sentence. It will be another random item.
Try to save the current joke after you get it with a random integer as @ClockworkOcean mentioned.
Here is an example with a timer where you can adjust the delay: