I try to give you the whole event:
First if the player does combine two objects with the same checksum, this event writes a number to the array. Here it's f.e. "2"
Then I can control this in debug layout. I can see, that the event triggers the animation (on the yellow background) and has inserted the "2" into the array (you can see it at the ground in the debug layout) --> Data 2 = 2
So the player plays until he reaches the needed score. To ease it, I reduced it to "3" (score=3)
then the game should pause and the "win" Layer appears while all of the math is triggering in the background.
But there's an error I can't identify.
The counter are working properly. They count the time and usage of objects and write it into the "use..." globalVars. Then they multiply it and write it into a "result...." globalVar". So I can get the final result displayed with all the math done.
But the damn array doesn't count weather the field is empty (0) or filled with a number from 1 to 99. So it doesn't work at all or counts infinite :(