Number Order by Click Order Problem
Hey guys,
I'm trying to make a logic that when I press a button a number appear but following a order (1-2-3-4...) based on click.
Here a example:

User press the first button (first position ), then the second button (fifth position)

-------------------------------------------------

Now scene was reseted, user press the first button (third position), then the second button (second position)

-------------------------------------------------

Could someone help with the logic behind it?
I'm trying to make a logic that when I press a button a number appear but following a order (1-2-3-4...) based on click.
Here a example:

User press the first button (first position ), then the second button (fifth position)

-------------------------------------------------

Now scene was reseted, user press the first button (third position), then the second button (second position)

-------------------------------------------------

Could someone help with the logic behind it?
Best Answer
-
simo103 Posts: 1,331
@mmzbr ..
need to create a Game attribute Game.ClickCount
In all actors:
then when actor is touched change:
Game.ClickCount=Game.ClickCount+1
need to create a self attribute integer "What number am I".
Rule 'self.What number am I" equals Game.ClickCount.
then
Also need a rule to set them back to zero
Answers
when touch is pressed display text attribute+1, THAN change attribute to attribute+1
But thanks for your reply.
Using your logic and made some adjusts now its working as intent. Thank you very much!
http://www.funkymunkygames.com/Gamesalad/search/