Re: Creating a save file in BGT

hello,

What i have done is loading the script after i have executed the load_game script.
My locations are stored in a script called game. thus:

void game()
{
if(location == 0)
{
dalgrim();
}
if(location == 1)
{
the_sewers();
}
// and so forth
}

To load the stored data i would do:

if(menu_result == 1)
{
load_game();
game();
}

with this method the game won't close down since the game loads the next instruction. let's say the saved location was 1. than the game will load location 1 and open the game there.

hth

greetz mike

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : microsoftsam via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : pelantas via Audiogames-reflector

Reply via email to