GM:S 1.4 [SOLVED] Resetting persistent rooms from other rooms

Discussion in 'Programming' started by Ferrettomato, May 30, 2019.

  1. Ferrettomato

    Ferrettomato Member

    Joined:
    Dec 13, 2016
    Posts:
    32
    My game has multiple persistent rooms that should maintain their states until the player returns to the main menu. However, I've been having trouble finding a way to reset all those rooms without actually going to each one and restarting it from within, which feels overly complicated and hacky. Is there an easier way to restart a persistent room from another room?
     
  2. jo-thijs

    jo-thijs Member

    Joined:
    Jun 20, 2016
    Posts:
    2,844
    Are you looking for the game_restart function?
     
  3. Kezarus

    Kezarus Member

    Joined:
    Jan 14, 2018
    Posts:
    166
    Ferrettomato likes this.
  4. jo-thijs

    jo-thijs Member

    Joined:
    Jun 20, 2016
    Posts:
    2,844
  5. Kezarus

    Kezarus Member

    Joined:
    Jan 14, 2018
    Posts:
    166
    Glad to help =]
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice