Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Load new level but keep all item .. #11673
01/25/03 14:40
01/25/03 14:40

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I dunno it can b posted on Advenced Topic or not, but, please help !
I have 2 levels, it's quite cool, but when the new level starts, all items and stats (EXP, level, strength .. )the player has in level 1 are lost.
I use the venture.wdl, please tell me the way to save the items and character informations on disk and load it when new level start.
And, I can't write code at all, please, if yoo have code, tell me where will I place it.

Re: Load new level but keep all item .. #11674
01/26/03 08:04
01/26/03 08:04
Joined: Apr 2002
Posts: 1,927
photon_ Offline
Expert
photon_  Offline
Expert

Joined: Apr 2002
Posts: 1,927
You've to give all variables in which the stats are saved the _info flag (eg var_info strength;). and before changing th lavel call save_info and after changin call load_info


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | 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