GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to make fix score for another level ?

l3anl7l3anl7 Posts: 8Member, PRO
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 canadaPosts: 840Member

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

  • l3anl7l3anl7 Posts: 8Member, PRO
    edited October 2015

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

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

    thank u

Sign In or Register to comment.