Reply to Re: extrating a var from other savegame?
If you don't have an account, just leave the password field blank.
Goto and if, that is correct and very annoying...
As for loading variables from other save games: it's possible, but probably not in the way you want. When you load a save game, it will load ALL variables that are stored in it. However, the current function continues running (at least if it's used script_attach(1000), which you probably want to do in that case). This means you can load a game and then refuse to continue where it left off.
Magicman did not do that in waitwut; that's a trick where he changed the ini file during runtime and showed that this change was preserved even through restart_game() (but not through save+quit+start+load.)
An example of what I described can be found in my dmod "Karel ende Elegast". It uses only one save game (-1) and checks if it contains a completed game. If so, it stays in the title screen when you try to load it.
As for loading variables from other save games: it's possible, but probably not in the way you want. When you load a save game, it will load ALL variables that are stored in it. However, the current function continues running (at least if it's used script_attach(1000), which you probably want to do in that case). This means you can load a game and then refuse to continue where it left off.
Magicman did not do that in waitwut; that's a trick where he changed the ini file during runtime and showed that this change was preserved even through restart_game() (but not through save+quit+start+load.)
An example of what I described can be found in my dmod "Karel ende Elegast". It uses only one save game (-1) and checks if it contains a completed game. If so, it stays in the title screen when you try to load it.