How do I make an actor clickable only once?

nati22nati22 Member Posts: 11

Hi there,

I have a store in my game, where the player can purchase stuff with the points earned in the game. Some items are only available on a certain level.

So far I have an actor next to the item with a basic image of a lock. When the player reaches the level on which the item becomes available, the lock image changes to a "buy" image.

When the player buys the item, the image changes to a check, and I want it to stay this way, but if I change the scene and come back, the "buy" image will be displayed again, and it's clickable again.

How could I make it stay on the check image and be clickable/purchaseable only once?

Thanks

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,944

    Please don't double post. If you need a thread moved to a different category, contact a Sous Chef (moderator) such as me. If you need to edit an existing post, you can do so by clicking on the gear icon at the top-right of the post... up to 24 hours later. If you need to add additional details to a post after 24 hours, add a new post to the original thread.

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

This discussion has been closed.