I would use Visual Logic and add the two data fields together using a Concatenate string that also has a string value added into the middle of the data fields that adds the correct spacing between them. This Concatenate block would then output to a separate text object that can be set to center align.
So, i got about 99% there, successfully joining 2 texts into one with center justification in a quick test scene I made, but I am unsure where to insert the 'string value' to determine the correct space between the 2 fields. Making a string value block with a value of 10 (for example), and attaching it to the concatenate block just inserts text with the number 10 into the combined text object.. which makes sense that it would... So, what I did was add a third text object center justified, right between the other 2 and just put 2 spaces in it. This seems to output correctly, BUT if I change the text in either of the 2 linked text objects, the center justified text object is not acting like it is center justified, shifting to one side or another depending on which feeder text object is changing, so clearly I'm not doing something right. I have attached the simple test scene, if someone can take a look and guide me to the solution, I would be forever grateful.
Cheers
- Willie
Well, blergh... the scene comprised of 4 text objects and 4 logic blocks with 0 materials is somehow clocking in at 1.86 MB, which us tiny, but too large apparently to attach here based on the error message I get when I tried... sigh... I'd still appreciate any advice that could be offered. It seems like a fairly common sort of thing to do
#XPression