Displaying Text

AMoonAMoon Member Posts: 16
edited November -1 in Working with GS (Mac)
Is it possible to specify a new line when displaying text?

Comments

  • AMoonAMoon Member Posts: 16
    Or just wrap to actor edges?
  • rebumprebump Member Posts: 1,058
    Use the old unix special character combo: \n

    ...within the single quotes somewhere...and two periods next to each (i.e ..) other is concatenation.

    So:

    `'A)Start\nB)Pause\nC)Stop'`

    or with variables (like for debugging):

    `self.SomeValue..'\n'..self.SomeOtherValue`

    But you will have to play around with spaces. Probably assign some of the text with spaces in it to a "text" attribute and then use the attribute. The "Display Text" behavior is not fond of spaces in certain situations. There are some other posts on that issue.
Sign In or Register to comment.