toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
DISPLAY RANDOM TEXT
kkaramanian
Member
Posts:
5
November 2011
edited November -1
in
Working with GS (Mac)
I know you can use display text expression to display random numbers - but is there any way it to display random letters in the alphabet? any help would be really appreciated - thanks
Comments
JohnPapiomitis
Member
Posts:
6,256
November 2011
well you could set up a attribute called randomLetter
whenver you want the random letter to appear Have a change attribute behavior changing randomLetter to random(1,26)
then rules when attribute randomLetter=1
display text: a
when attribute randomLetter=2
display text: b
and so forth.
kkaramanian
Member
Posts:
5
November 2011
Thanks John - I'll give that a go.
Sign In
or
Register
to comment.
Comments
whenver you want the random letter to appear Have a change attribute behavior changing randomLetter to random(1,26)
then rules when attribute randomLetter=1
display text: a
when attribute randomLetter=2
display text: b
and so forth.