Display Text behaviour doesn't display text.

HunnenkoenigHunnenkoenig Member Posts: 1,173
edited November -1 in Working with GS (Mac)
I wanted to display text if a rule is valid, but I can't put any text into the field.

I can write letters but no space, so "Hello World!" is impossible, but it doesn't show textes, only numeric characters.

Comments

  • rebumprebump Member Posts: 1,058
    Put "Hello World!" without the quotes into a game level attribute and then select that attribute in the "DisplayText" behavior expression textbox.

    Or something similar...

    http://gamesalad.com/forums/topic.php?id=2861#post-15798
  • HunnenkoenigHunnenkoenig Member Posts: 1,173
    Thanks!
    I hope this will be worked on, because now it has no sense. And putting "Hello World!" into it has even less sense :-P
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    not sure if this has been brought up before...

    there is a sneaky way to force GS to allow multi-line text when using expressions. create a game text attribute and setting it to Option-Return. this gives you an attribute you can plug in any time you need text on a new line...

    Example:
    `
    Display Text
    --"Hello"..game.NewLine.."World"
    `
    Result:
    Hello
    World
Sign In or Register to comment.