How do I increment tables?
mamadouad09
Member, PRO Posts: 4
Meaning that if the actor is pressed once, it will refer to the column 1. If I tap it a second time, it will refer to column 2 and so on...
Comments
Create an attribute to keep track of your clicks, then use that attribute when checking the table columns.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Then reference it as a FUNCTION tablecellvalue(table,row,column).
Where table is the table name
row would be your Click attribute
and column would be 1 or whatever you want to stay in
If you are using a RULE, instead of ATTRIBUTE you may have to do NUMERIC EXPRESSION to get the function to be available