So I made this game to help me with my prepositions here: http://scratch.mit.edu/projects/aquafrog324/2394576 and i want it to be so that you don't have to type the prepositions in an exact order. please help
Offline
OK, this could be a bit difficult.
I'd try, first check if it's in the list, using
<[prepositions v] contains (answer)>If it is, so, try this:
set [index v] to [1] repeat until <<(item (index) of [prepositions v]) = (answer)> or <(index) = ((length of [prepositions v]) + (1))>> change [index v] by (1)
Last edited by scimonster (2012-03-15 09:59:31)
Offline
scimonster wrote:
OK, this could be a bit difficult.
I'd try, first check if it's in the list, using<[prepositions v] contains (answer)>If it is, so, try this:set [index v] to [1] repeat until <<(item (index) of [prepositions v]) = (answer)> or <(index) = ((length of [prepositions v]) + (1))>> change [index v] by (1)
Thank you so much! I tried it and it works really well.
Offline
uploaded it: http://scratch.mit.edu/projects/aquafrog324/2399194
Offline