Is possible random sentences??
aitor010
Member Posts: 282
Hi! Is possible make an app with random sentences?? How?
Thanks in advance!
Thanks in advance!
Comments
Create a game integer called "WhichText."
Create an actor and call it RoundRules
Inside, add a change attribute behavior:
- change game.WhichText to Random(x,y)
X = minimum of rows
Y = Max rows you have.
This will pick a random row number. Then you can just grab the text through that number.
For example:
Display text: tablecellvalue(TableName, game.WhichText, 1)
Beaten by Sadida.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Of course is yes no because on for biscuit people.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User