So I have a few dialogs that contain text from a variable that is converted to a string from an integer. I can't find where to change the styling of the converted text though, it just shows up really tiny and white, I was looking to make it big and blue/gray.
I'm still slightly confused. I only have the option to do one or the other in the editor. If I try to do it by value (which is what it looks like you're suggesting me to do) then it won't let me convert the int to text anymore. If I convert from int to text then it doesn't let me change the style. I can't figure out how to do both at once.
Basically you convert your integer into a string. Then you add the pre- and suffix to this string and THEN you turn it into a text. That'd be my solution.
OOH, I gotcha now. I'm still stuck on how to use this action though. Using Combine Text only gives me two things to use and if I use Combine Text Multiple it just gives me one option which doesn't really make sense. I can't figure out how to add the third one on here:
You use combine text (or combine string as in my examples) twice.
You use Combine Text, get two texts then. Then you use combine text in the second text again.
Peng, you have (Text + (Text + Text) )
So I have a few dialogs that contain text from a variable that is converted to a string from an integer. I can't find where to change the styling of the converted text though, it just shows up really tiny and white, I was looking to make it big and blue/gray.
Bump? I figured this was something easy that I was overlooking...
You can just manually input the style:
The syntax of a style is as follows:
<s val="Style Name"> Then here the text that's being styled </s>
But because the " stops the string you'll have to add another character infront of it:
<s val=\"Style Name\"> Then here the text that's being styled </s>
So you can just add <s val=\"Style Name\"> in front of your string and </s> behind it. Then convert it to text and it should work fine.
You can find the style names in that style control menu where you'd usually apply styles.
Or you can look here for a lot of styles:
http://forums.sc2mapster.com/development/tutorials/2017-misc-text-styles-50-done/
I'm still slightly confused. I only have the option to do one or the other in the editor. If I try to do it by value (which is what it looks like you're suggesting me to do) then it won't let me convert the int to text anymore. If I convert from int to text then it doesn't let me change the style. I can't figure out how to do both at once.
Basically you convert your integer into a string. Then you add the pre- and suffix to this string and THEN you turn it into a text. That'd be my solution.
To make it a little more understandable:
OOH, I gotcha now. I'm still stuck on how to use this action though. Using Combine Text only gives me two things to use and if I use Combine Text Multiple it just gives me one option which doesn't really make sense. I can't figure out how to add the third one on here:
[IMG]//i210.photobucket.com/albums/bb187/urmom599/combine.png" rel="noopener nofollow" target="_blank">http://i210.photobucket.com/albums/bb187/urmom599/combine.png[/IMG">http://i210.photobucket.com/albums/bb187/urmom599/combine.png[/IMG]
You use combine text (or combine string as in my examples) twice.
You use Combine Text, get two texts then. Then you use combine text in the second text again.
Peng, you have (Text + (Text + Text) )
Oh wow lol, another brain freeze sorry. Anyways, got it working, thanks! Looks MUCH better.