GameSalad

Howdy, Stranger!

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

How to make an unlock with a special reveal code?

Hello, I am trying to add something where the user can type in a special code and it will unlock something. Is this possible to do with the text input?

Best Answer

  • tatiangtatiang Posts: 11,636Member, Sous Chef, PRO, Senior Sous-Chef
    edited December 2018 Accepted Answer

    Sure. I'm not sure if you mean unlock an IAP or just something else in your game but it's possible.

    Keyboard Input [prompt: "Enter code"] [attribute: game.code]

    When attribute game.code = "MoReHeAlTh"
         Spawn actor [Health Increase Notification]
         Change attribute game.health to game.health+100

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

Sign In or Register to comment.