1. (not really important but would be nice) Make it so each letter has its own space so the text has better spacing...for example the "i" would be closer and wouldnt have a huge gap. I only have one object for all the text and using different icon states so i cant figure a way to change the spacing based on the icon state without writing a huge amount of if statements.
2. (The real reason for the post) I want to be able to wordwrap the text. I know i can just go through and space my input so it is right but thats just a lot of senseless work when i can code something to do it for me. I have the text string entered into a list with each variable like so
TextConverter(var/text)
text1=list()
for(var/a=1,a<=length(text),a++)
text1+=copytext(text,a,a+1)
I would be able to do it if i could check how many letters the next word after a space is
Spacing would be much easier. You could use letter datums to decide the spacing between each letter, or an associative list. I would recommend the latter unless you want to have even more specific control over each letter.