Not allow player to touch finish line unless tgey collected 10 coins

IncrediboIncredibo Member Posts: 274
edited November -1 in Working with GS (Mac)
How can I Not allow player to touch finish line unless they collected 10 coins what rule do I need on the finish line??

Comments

  • DetheDethe Member Posts: 172
    you have to have an integer of the number coins you have and only if the integer is 10 or greater then you character can pass.
  • DreamLabDreamLab Member Posts: 2,127
    this is what I would do. Make an integer attribute. When you collect a coin, +1 to the attribute. And make it to where when you cross the finish line, that attribute has to equal 10. if not it does nothing.
    DL
Sign In or Register to comment.