How to make fix score for another level ?

l3anl7l3anl7 Member, PRO Posts: 8
edited October 2015 in Working with GS (Mac)


I've suspect to know about to limit score for this level and all level.

Comments

  • GnarlyGnarly canadaMember Posts: 840

    Not sure what "fix score" means??????

  • l3anl7l3anl7 Member, PRO Posts: 8
    edited October 2015

    means limit score as level1 1-3 point level2 1-3 point total 6 point, this picture limit score = 75

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 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.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • l3anl7l3anl7 Member, PRO Posts: 8

    thank u

Sign In or Register to comment.