How do I create a text message with the number of a specific integer? I can't find it in any functions - nor in 'combine text' or 'combine text multiple'. My integer is modified every 15 seconds, so it can't just be a set number.
There is a function "Convert integer to text" which can be used as a part of the Combine text or Combine Text (multiple) actions. Just create the sentence as usual, and use the function "convert integer to text" to display the value where you need it. If the value of your integer is dynamic (its value changes during the game), you will need to refresh the whole sentence by using a "set WHATEVER text to..." action somewhere in a trigger. The action must be triggered either periodically, or each time an important event occurs (unit dying, ability used, or whatever you want).
Usually its good to Start with "Combine text" and add "Combine text" each time you need one more part of sentence or new integer. "Convert integer to text" is the most important part anyway.
How do I create a text message with the number of a specific integer? I can't find it in any functions - nor in 'combine text' or 'combine text multiple'. My integer is modified every 15 seconds, so it can't just be a set number.
Do you know if this is possible?
Use the "Convert Integer to Text" function, then select the integer variable you wanted?
There is a function "Convert integer to text" which can be used as a part of the Combine text or Combine Text (multiple) actions. Just create the sentence as usual, and use the function "convert integer to text" to display the value where you need it. If the value of your integer is dynamic (its value changes during the game), you will need to refresh the whole sentence by using a "set WHATEVER text to..." action somewhere in a trigger. The action must be triggered either periodically, or each time an important event occurs (unit dying, ability used, or whatever you want).
If that's not what you meant, I don't get it. :)
I have made tutorial how to link variable into mission objective. Should work same way for text message. Hope this helps: http://www.sc2mapster.com/forums/resources/tutorials/12560-trigger-how-to-link-variable-into-mission-objective/
Usually its good to Start with "Combine text" and add "Combine text" each time you need one more part of sentence or new integer. "Convert integer to text" is the most important part anyway.
I'm amazed as to how i missed that funcion, lol...
Thanks for the help!