I have a menu and I did know what the code was but I can't remember it for the life of me .
I just need to load a game and exit the game code ..
"exit the game code"?
I don't know what you mean exactly, maybe you can explain further?
- To abort a running game, press ALT+X.
- Script code to quit a game is QuitGame(0);
Edit:
- Script code to abort the rest of a function is return; (mentioned in this page (http://americangirlscouts.org/agswiki/index.php/Scripting_hints))
I have a exit hotspot a load hotspot and a start hotspot on my menu room .
The exit one you just gave me works but the Load(); gives me an error ?
IS that the right code to call a save game to play ?
You can call the built-in restore dialog with RestoreGameDialog();
I haven't done my own dialogs for this yet, so I can't tell you how to do that.
But it's a popular topic and I'm sure several threads can easily be found with the forum search function.
Thank you thank you , thats the one I couldn't remember .. damn memory is going to hell on me and I forget so much stuff now .