Multi Line Dialog Text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • thetford
    Forum Member
    • Feb 2005
    • 175

    Multi Line Dialog Text

    Can somebody help me with some lua code that will allow me to make a multi text line dialog message?

    Thanks in advance
  • Worm
    Indigo Rose Customer
    • Jul 2002
    • 3971

    #2
    Use \r\n to drop to a new line

    Code:
    Dialog.Message("Your Title", "This\r\nwill\r\nshow\r\nhow\r\nto\r\nadd\r\ncarriage return\r\nlinebreaks.")

    Comment

    • Intrigued
      Indigo Rose Customer
      • Dec 2003
      • 6138

      #3
      Here's an easier on the eyes approach?

      Code:
      Dialog.Message("Your Title",
      [[
      My friend of a long time once said, 
      "You don't have just one shot at it, 
      so make the second one better than
      the first one!"
      ]])
      Intrigued

      Comment

      • thetford
        Forum Member
        • Feb 2005
        • 175

        #4
        thnaks guys, I'll try both!

        Comment

        Working...
        X