I was wondering if there is a feature that lets you add a suffix/prefix to text that has a binding. I am making a horror game that includes a flashlight which has a battery level that displays on the UI. It only displays as a number, and I was wondering if there is a way to add % onto the end of the string somehow. (In Blueprint, by the way.)
Any answers or answer attemps would be appreciated.
DJ BXRTZXLL
Both Text or String have a Format function, which allows you to set some value in string at exact place. Text Localization | Unreal Engine Documentation
If you use String (but, I hope, in UI you use Text), you can also use Append function. Append | Unreal Engine Documentation
1 Like
Thanks mate. Will definitely come useful.