Reply to Re: &savegameinfo
If you don't have an account, just leave the password field blank.
Freaks. Here's the truth of this DinkC mystery (for you two then) :
//This is the choice menu when you want to load a savegame. If a
//savegame exists, it'll show the info of the savegame. However,
//choosing one of the options in this menu won't load the savegame
//without the correct &result
choice_start();
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"Nevermind"
choice_end();
//The following (in the Escape menu) will check if the game exists
//See, it gives the value of the result from the choice menu above
//and then it checks with game_exist if the game exists. If this
//returns 0, the game doesn't exist.
if (game_exist(&result) == 0)
{
//Actions here to say the game doesn't exist
}
//The following will load the game if it exists. It'll load the game
//from the &result from the choice menu. So if you choose savegame 3,
//&result will be 3 and this command will load savegame 3
load_game(&result);
//Oh, and this saves a game - the player chooses where to save the
//game and then the game will be saved:
save_game(&result);
//This is the choice menu when you want to load a savegame. If a
//savegame exists, it'll show the info of the savegame. However,
//choosing one of the options in this menu won't load the savegame
//without the correct &result
choice_start();
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"&savegameinfo"
"Nevermind"
choice_end();
//The following (in the Escape menu) will check if the game exists
//See, it gives the value of the result from the choice menu above
//and then it checks with game_exist if the game exists. If this
//returns 0, the game doesn't exist.
if (game_exist(&result) == 0)
{
//Actions here to say the game doesn't exist
}
//The following will load the game if it exists. It'll load the game
//from the &result from the choice menu. So if you choose savegame 3,
//&result will be 3 and this command will load savegame 3
load_game(&result);
//Oh, and this saves a game - the player chooses where to save the
//game and then the game will be saved:
save_game(&result);






