Make an actor only appear if its a new install?

salino2835salino2835 Member, PRO Posts: 76
edited February 2016 in Working with GS (Mac)

I have an onboarding event that tells someone how to play the game. How would i code it for it to check if the game has been played before or not to not show the onboarding again?

Comments

  • MentalDonkeyGamesMentalDonkeyGames Member Posts: 1,276

    Make a game attribute (boolean), and call it FirstLaunch. Set it to true by default.

    Now make a rule that says:
    -when game.FirstLaunch is true
    -do tutorial stuff.

    When the tutorial is completed or closed, change game.FirstLaunch to false and save the attribute.

    In your first scene of the game, load the attribute.

    Hope this helps!

  • salino2835salino2835 Member, PRO Posts: 76

    Sorry I'm just responding now, but this helped a lot thanks so much

Sign In or Register to comment.