Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: eissen_eiram on Sun 06/05/2012 16:59:42

Title: Retry a current level
Post by: eissen_eiram on Sun 06/05/2012 16:59:42
How do you reset to retry the current level/room?
Title: Re: Retry a current level
Post by: steptoe on Sun 06/05/2012 18:24:56
From the Manual:

You cannot reset the current room (ie. the room that the player is in).

Title: Re: Retry a current level
Post by: Andail on Sun 06/05/2012 19:44:25
Make the game save automatically when the player enters a room, with e.g. SaveGameSlot.
For retrying, use RestoreGameSlot with the same int.
Title: Re: Retry a current level
Post by: geork on Sun 06/05/2012 21:50:43
If it's just for a single room:
  When you create a room, the "Create New Room" window has a checkbox which asks you whether to reset the room once the player has left. Click that.

  The room number will then be 300 + (room number)