Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: dikla on Wed 28/07/2004 20:15:38

Title: would you like to play again - yes not working
Post by: dikla on Wed 28/07/2004 20:15:38
at the end of my game i made 3 object - want to play again, yes, no. i did it hotspot and if the player says:
yes and click on hostpot "yes" i worte a command:
NewRoom (0).
the player get to the intro and when he want to play again, he begin at room 1 of course but the object are gone. the room is empty.
what can i do about it? may be because his inventory is full?
tx dikla
Title: Re: would you like to play again - yes not working
Post by: strazer on Wed 28/07/2004 20:24:11
Try
RestartGame();
instead?
Title: Re: would you like to play again - yes not working
Post by: dikla on Wed 28/07/2004 20:36:34
indeed it do the trick. again, thank you. you helped me in the beggining and in the end. tx. dikla