toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Not allow player to touch finish line unless tgey collected 10 coins
Incredibo
Member
Posts:
274
February 2011
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
Dethe
Member
Posts:
172
February 2011
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.
DreamLab
Member
Posts:
2,127
February 2011
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.
Comments
DL