Looping through Table
Hey there,
I saw tshirtbooths tutorial on using attributes to store a dictionary (which I assumed was a workaround for the pre-table era)
Using tables, I would like to cycle through cells/rows using something similar to a for loop.
I created a a few nested loops to simulate a for loop and it worked but I ended up having to click the submit button before typing the word.
My question has 2 parts:
a) Does a rule keep checking itself? Or does run once like an if/else statement?
b) Is cycling through a table more efficient than stuffing attributes with words like in the tshirtbooth example?
Thanks for your help
freshfish
I saw tshirtbooths tutorial on using attributes to store a dictionary (which I assumed was a workaround for the pre-table era)
Using tables, I would like to cycle through cells/rows using something similar to a for loop.
I created a a few nested loops to simulate a for loop and it worked but I ended up having to click the submit button before typing the word.
My question has 2 parts:
a) Does a rule keep checking itself? Or does run once like an if/else statement?
b) Is cycling through a table more efficient than stuffing attributes with words like in the tshirtbooth example?
Thanks for your help
freshfish
Answers
. . . I think it'd only take half an hour or so, not that anyone is going to wait around half an hour everytime a game wants to process/find a word.
Thanks tshirtbooth for that solution...i tried it and it worked well but I was trying to do the table method to compare. Its good to know the limitations such as 30 times a second
What would limit it to that? And wouldnt the performance be different when porting to Android or iOS?