Display Text - How to display text + and Attribute?
Hi All,
I currently Displaying Text using a 'Display Text' Behaviour. What I wish to do is write my own text follow by a pulled in attribute.
So for example.
game.Playername = Simon
Display Text Behaviour needs to display: Hello game.Playername (Which would appear to the user as Hello Simon)
Seems like a really simple thing to me where I would have thought I use a comma or similar to seperate the text from the attribute. If you type in Hello then select the attribute game.Playername you get an error.
Any help would be much appreciated.
Cheers
S
I currently Displaying Text using a 'Display Text' Behaviour. What I wish to do is write my own text follow by a pulled in attribute.
So for example.
game.Playername = Simon
Display Text Behaviour needs to display: Hello game.Playername (Which would appear to the user as Hello Simon)
Seems like a really simple thing to me where I would have thought I use a comma or similar to seperate the text from the attribute. If you type in Hello then select the attribute game.Playername you get an error.
Any help would be much appreciated.
Cheers
S
Answers
"HelloWorld!".. game.myText
some useful bits here http://forums.gamesalad.com/discussion/2174/working-with-display-text