line break in strings?

  • #1, by constantinThursday, 15. March 2018, 17:15 6 years ago
    I know I can break lines in dialogues. But is it also possible to insert line breaks in strings? I tried "test\test" but when I use the string in a display text, the "\"just gets ignored. 

    Forum Fan

    167 Posts


  • #2, by afrlmeThursday, 15. March 2018, 17:58 6 years ago
    \n is new line, but I don't know if it would work with Lua script & displayed text. I don't think I've actually tried using it in strings, only in the scripts I use for writing data to external files.

    Imperator

    7278 Posts

  • #3, by constantinThursday, 15. March 2018, 18:39 6 years ago
    thank you - i have tried this also. does work in lua directly, but not in displayed texts. probably have to stick to the automatic line breaks.

    Forum Fan

    167 Posts