I'm trying to use TokenAt/TokenCount to check if the player has cleared all my levels, instead of using a variable for each level.
The thing is, I have a variable called "levelCleared" that's set to "0,0,0,0,0,0,0,0,0,0,0,0", where each 0 represents a level. When the player clears the level, it changes to it to 1.
I thought about using a "For 0 to Tokencount(levelCleared,",")-1" like I saw here scirra.com/forum/for-each-tokenat_topic71638.html to check for it, but then how can I check if EVERY number equals to 1?
Sorry if this is a dumb question.
Thanks!