How can you display two integers in just one Display Text?
Dell7730
Member, PRO Posts: 388
Just wondering cause I might want an integer counting down plus another integer counting down in just one display text
Best Answer
-
Braydon_SFX Posts: 9,273
You can add a period by using ..".".. - remember to use the concatenation between each element in the expression.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Answers
Inside the expression editor, add your first attribute, then use the ".." Concatenation.
It would look something like this:
Game.Display1..Game.Display2
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
this works BUT they are attached to each other when displayed, how can you separate them with a period?
Thanks very much
How about 3 displays? would it work just the same? 3 displays separated by either a period or a word or a period first then a word...
better yet... Game.Display1..Game.Display2 the a word separated by a space?
Yes, as long as their integer attributes and you make sure to put the two dots between each new element.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
even if the first two are integers and the third is a typed in word?
Ok, it works, thanks so much.