Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Grim on Sun 30/09/2007 15:13:56

Title: LOAD GAME
Post by: Grim on Sun 30/09/2007 15:13:56
Normally load game is triggered using F5 or GUI button but what when at start screen there is options panel, you know, load game, start new etc. What interactions do I give to load game (well, object icon I guess) to take player to load screen?
I know this sounds dumb but I can't better explain it...:)
Title: Re: LOAD GAME
Post by: mchammer on Sun 30/09/2007 15:46:15
If i understood right, you have a startmenu room with "load game" object in it?
If so,  add run-script option to object's 'any click on object' interaction.

Then write this to the script:
RestoreGameDialog();
Title: Re: LOAD GAME
Post by: Ashen on Sun 30/09/2007 16:04:50
BFAQ: Adding an intro/cutscene to your game (http://americangirlscouts.org/agswiki/Graphics%2C_Characters%2C_Text_%26_Rooms#Adding_an_intro.2Fcutscene_to_your_game). I admit it's not the clearest, but it does speficically mention RestoreGameDialog. And, of course, you could've found it by looking at the scripting for F5 (on_key_press) or the GUI Load button.

Unless you're using a custom Load GUI (your own, or from a module)? In which case, we'll need to know a bit about that (what module, or GUI and Control names, etc).