Creating a DO WHILE or FOR loop

KiwiLeeKiwiLee Member Posts: 181
edited May 2012 in Working with GS (Mac)
I want to hit a button and then have some code execute a set number of times. One for each occurrence of a word on the screen, i don't really want to create lots of duplicate actors to check the word (using tshirtbooth's word look up template as a starting point).

Any ideas on how a simple loop is done in GS.

Sorry if this is a noob question but I can't see it :-(

Best Answer

  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    edited May 2012 Accepted Answer
    You would make it with timers and rules.

    For example: You want to loop an attrbute up to 30

    You would make a rule when attribute is <30
    then inside the rule timer every 0.1 seconds
    then in the timer change attribute to attribute+1
Sign In or Register to comment.