Only Odd Rows?
rainwaterstudios
Member Posts: 198
Hey all,
I'm working on a text-based puzzle project, which I have set up in tables.
Each row contains a question in the 1st column, number of letters in the 2nd column, and columns 3+ each contain a letter of a word that is the answer.
I am wondering if there is a way to only select odd-number rows when randomly selecting the next question.
Any ideas?
Comments
Best,
Two.E
GSLearn.com | Templates | Free Demos | Udemy Course
Totally agree with @Two.E but if you indeed do want to select only odd rows, try this:
Let's say you have 20 rows...
Change attribute game.whichRow to random(1,10) * 2 - 1
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks for your input. Each row included two forms of the same word; the even rows are the word, and the odd rows are people's names that are homophones of the word.
For instance, for the answer to "Eugene incorporates all DNA of an organism" row 1 would be a series of text attributes, one letter per column, spelling out 'genome', while row 2 would spell out 'Gene Ohm'.
So for every word row, there is a name row after it.
Awesome, that's precisely what I was looking for. Thanks!