• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Legacy GM [SOLVED] Resetting persistent rooms from other rooms

F

Ferrettomato

Guest
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?
 

jo-thijs

Member
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?
Are you looking for the game_restart function?
 

jo-thijs

Member
Top