The Dink Network

Reply to Re: extrating a var from other savegame?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
April 4th 2018, 08:04 PM
dinkdead.gif
Nope don't think so.

It sounds like you might want to take a look at supervars

Edit: The only similar thing you can do is
int &somevariable = 1234;
save_game(&somevariable);

//and then later check if that number exists:
if (game_exist(&somevariable))
{
 //do something
}

But I doubt that helps. Unless you want loads of saved games cluttering up the place.

Edit 2: Re. supervars, search for "Multiple values in one variable" in that file as they aren't called supervars there (I think that's what Redink1 called them?)