Types/Text

From SC2Mapster Wiki
Jump to: navigation, search

Text

Text is a special datatype.

  • It has Settings for Font and other makeup features.
  • It can use most of the Unicode characters.
  • In SC2 strings use 8bits per character and that is why strings cannot be used for languages like Korean/Chinese.

Use Text Template Format

You can add Data Editor information as variable into the text. For example Dmg Amount https://www.sc2mapster.com/forums/resources/tutorials/17879-data-button-tooltip-referencing/

Problem:

Text cannot be converted to String and cannot be compared. Because Player names are Text, it is impossible to test for exact Player names but they can still be displayed.