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_level() -- restore my player #11137
12/04/02 21:48
12/04/02 21:48

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



hey,

i really have a problem where i need help.

when i load a new level, i want to restore all the player skills and flags in the new level. but how can i save it. i tried it with temp variables.

to create the player i use the function
create(player_mod, posStart,player_walk);
this works, but i dont have a my pointer or a reference on the player. also i dont know the name.

how can i restore the values?

thanks for any help

--dan

Re: load_level() -- restore my player #11138
12/05/02 00:50
12/05/02 00:50
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline
Senior Member
JayG  Offline
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
Check out Page 43 of wdlman.pdf which talks about controlling the game and covers saving and loading.


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