How to compute the GCF in gamesalad

wroachbarrettewroachbarrette Member Posts: 101
edited June 2012 in Tech Support
Hi, I was wondering if anyone had a good idea on how to compute the greatest common factor between two numbers in gamesalad. I love it if there it was just as simple as typing a formula into the change attribute function, but the only was I know how to do it in another language is with a recursive method :/ Any help would be greatly appreciated

Answers

  • ORBZORBZ Member Posts: 1,304
    You can do recursion by having an actor spawn itself. Just set a global var so that it knows when to quit.
Sign In or Register to comment.