Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (PeWi, AndrewAMD, TipmyPip, Geir), 15,254 guests, and 21 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Geir, ondrej, mredit, vestriaa, Lukudo
19206 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