Repeating score change attribute

WeswogWeswog Member Posts: 1,171
edited November -1 in Tech Support
How do I make it so that every 6000 points or so it will change an attribute?

Cheers, Weswog

Comments

  • butterbeanbutterbean Member, PRO Posts: 4,315
    Can you do this?

    Create attribute game.score to keep track of score

    When game.score = 6,000

    Change attribute: "insert what attribute you want to change..."
  • WeswogWeswog Member Posts: 1,171
    What I want it to do is every 6,000 points so you don't have to do game.score=6,000 do something when it = 12,000 do something and so on. So I want to shorten it by every 6,000 points do one thing.
  • CorellaCorella Member Posts: 37
    One way would be to have a separate attribute which is at 6000, so when

    game.points = game.trigger (for example)
    -->
    "do something" and change attribute game.trigger to game.trigger +6000

    so that the next time,

    game.score = game.trigger

    it will do something again. If that made sense.
  • WeswogWeswog Member Posts: 1,171
    Thank you that worked:)

    Cheers, Weswog
Sign In or Register to comment.