Gamestudio Links
Zorro Links
Newest Posts
Black Book, 4th edition
by jcl. 03/17/26 09:28
Trying to get started...
by Lukudo. 03/16/26 09:08
ZorroGPT
by TipmyPip. 03/08/26 18:50
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (VoroneTZ, AndrewAMD, 1 invisible), 5,926 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
mredit, vestriaa, Lukudo, mldenoiser, the1
19204 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Quicksave and -load functions #81039
07/12/06 00:24
07/12/06 00:24
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Hi,

Just wanted to know if it's possible to call the quicksave and quickload functions (the default functions for F2 and F3) from C-Script?

Thanks

Re: Quicksave and -load functions [Re: Claus_N] #81040
07/14/06 17:13
07/14/06 17:13
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline
Expert
TripleX  Offline
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
of course..The Quick Save and Quick Load function is nth. more than normal game_Save/load calls.

Copied from the default.c

Code:


void def_save()
{
game_save(app_name,1,SV_ALL-SV_INFO);
beep();
}

void def_load()
{
game_load(app_name,1);
}



in c-script:

Code:

function def_save() //f2
{
game_save(app_name,1,SV_ALL - SV_INFO);
}
function def_load() //f3
{
game_load(app_name,1);
}



TripleX

Re: Quicksave and -load functions [Re: TripleX] #81041
07/14/06 23:03
07/14/06 23:03
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline OP
Serious User
Claus_N  Offline OP
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Okay.. Also though about that ;P

Thanks


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1