About Expression Editor

MeaningfulGamesMeaningfulGames Member, PRO Posts: 171
edited September 2012 in Working with GS (Mac)
Hi community,
Just a quick question - how do you type an expression editor function which incorporates text and attributes?
For example, using Python if you had a UserName variable you could display the text by going " Hello " + str(UserName) + "!"
So how would you do this sort of thing on GameSalad?

Thanks

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    in GS that would be typed: "Hello "..game.UserName.."!"
    game.UserName is selected from a gameAttribute (or actorAttribute)

    to do the space … use option+spaceBar
    (the expression editor does not accept spacebar keystrokes)

    image MH
Sign In or Register to comment.