line break in strings?

  • #1, by constantinThursday, 15. March 2018, 17:15 2 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 2 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

    6846 Posts

  • #3, by constantinThursday, 15. March 2018, 18:39 2 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

Write post