Revive Only Once... Then Restart From Main Menu

Discussion in 'How Can I...?' started by Shawh, Sep 28, 2016.

  1. Shawh

    Shawh Boxer

    Joined:
    Dec 14, 2015
    Messages:
    82
    Likes Received:
    41
    How can I implement my character to revive(rewarded video) only once from game over and then you have to restart the whole game in order to revive again.

    I have multiple worlds and each time the character dies, I want the game to give me an option to watch a reward video to revive and then the second time the character dies the reward video option should disappear, and force you to go back to main menu in order to get the restart(reward video) option back on game over.

    Any help would be appreciated.
     
  2. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    The reward video button is a purchase button. Just put interval = 2 so it appears every second time you die which means you can revive only one time. The bad thing with this is, the first time it appears the second time instead of the first time... but I think it isn't that much of a problem.
     
    Shawh likes this.
  3. Shawh

    Shawh Boxer

    Joined:
    Dec 14, 2015
    Messages:
    82
    Likes Received:
    41

Share This Page