Mixing text and variables
BeyondtheTech
Member Posts: 809
Is there a way to display text that would read: "You have 15 chances left!" using something like "You have " + (game.Chances) + " chances left."?
For the Display Text Action, it seems that you can put text, or just put a value, but not both?
For the Display Text Action, it seems that you can put text, or just put a value, but not both?
Comments
So the above would look like this:
"You have "..game.Chances.." chances left."
You will need those quotes as well.
Joe
yeah, it's still a little bit wonky...
you could make a global text attribute that would have the spaces in it...
So:
game.YouHave..game.Chances..game.ChancesLeft
It starts to get ridiculous though...
In reality, I would make all the text in Photoshop or another image editor...