I have my HUD working with a string message. I want the total hud message to be a generic string, then a score readout, and then instructions to replay level. I would like to concatenate my strings with score variable from in game so I can do a single drawtext on the screen. Is there a way to do this?
As you can see from the image below (I know zoomed out, but specific words don’t matter in this case), my first word is in the comment box “Success Word”. This takes whatever term I choose for success, and centers it on screen. Below to the right I have a “Score” comment, where I again am determining the size of the score and then centering it, and pushing it down vertically.
It seems like I having to recalculate / rewire the same process over and over. I am coming from a web development background, and would just concatenate the strings and variables into a single output and display that.
Can I do this in Ue4? If not, is what I am doing (with separate drawtext sections for each textural component) the best practice workflow?