Formatting text display with a game attribute

jazzloverjazzlover Member Posts: 4
edited November -1 in Working with GS (Mac)
Hi everybody,

I'm trying to display a line of text that contains a game attribute. I want the line to read as follows:

Lost Squidlies: 12 (or whatever the number of lost squidlies actually is at the moment)

numberOfLostSquidlies is my game attribute.

I've tried to type it into the text box, but it doesn't work that way. I've tried to type it in the expression box like so: "LostSqudlies:"..game.numberOfLostSquidlies -- this works but the expression box won't allow for spaces so the text that gets displayed has no spacing.

Is there a way to properly format multi-word text that includes a game attribute?

How do I go about that?

I'd appreciate any help.

Dave

Comments

  • jazzloverjazzlover Member Posts: 4
    Um...Never mind. I found the answer in another forum question. I missed it the first time I did a search. Decided to search again and found it. You use the alt + space bar and that will enter spaces in the expression box. That did the trick.
Sign In or Register to comment.