means limit score as level1 1-3 point level2 1-3 point total 6 point, this picture limit score = 75
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
edited October 2015
I'm sorry if I'm not understanding your question but it seems like you are asking about limiting a score attribute. You can use the min() function for this, which returns the smaller of two values. For example, Change Attribute game.score to min(game.score+1,3).
I'm guessing that's not what you wanted, though, so please provide more details and examples.
Comments
Not sure what "fix score" means??????
means limit score as level1 1-3 point level2 1-3 point total 6 point, this picture limit score = 75
I'm sorry if I'm not understanding your question but it seems like you are asking about limiting a score attribute. You can use the min() function for this, which returns the smaller of two values. For example, Change Attribute game.score to min(game.score+1,3).
I'm guessing that's not what you wanted, though, so please provide more details and examples.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thank u