When touch is pressed change "Actor" attribute to Actor (Attribute+1)%3
0 = A
1 = B
2 = C
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
It depends on whether you need to change the image, the image and the rules, or the image+rules+a bunch of self attributes. But as @RabitParrot says, the easiest way is to set an integer attribute and change it when needed. Then have separate rules for each possible value of that attribute.
Comments
Make an "Actor" integer attribute that says,
When touch is pressed change "Actor" attribute to Actor (Attribute+1)%3
0 = A
1 = B
2 = C
It depends on whether you need to change the image, the image and the rules, or the image+rules+a bunch of self attributes. But as @RabitParrot says, the easiest way is to set an integer attribute and change it when needed. Then have separate rules for each possible value of that attribute.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User