Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
bar time, right side open or close?
by Spirit. 01/03/26 08:10
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (1 invisible), 3,780 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
does game_save saves flags ? #290077
09/17/09 07:59
09/17/09 07:59
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
Hi

I am using game_save:

game_save("save" , 0 , _VAR(SV_ALL));

and after saving I hide some entities, then I load but the entities are still hidden.

I want load to restore them to the same status before saving

Re: does game_save saves flags ? [Re: Mysterious] #290080
09/17/09 08:19
09/17/09 08:19
Joined: Jul 2005
Posts: 44
france
M
Mach Offline
Newbie
Mach  Offline
Newbie
M

Joined: Jul 2005
Posts: 44
france
Hi Mysterious,

Try this to save :
game_save("save",0,SV_ALL);

And to load, use this :
if (game_load("save",0) <= 0) { print("Load Error!"); }


Leader "Mach Creation"
A7.80.1 Pro
Re: does game_save saves flags ? [Re: Mach] #290084
09/17/09 08:29
09/17/09 08:29
Joined: May 2006
Posts: 133
ME
Mysterious Offline OP
Member
Mysterious  Offline OP
Member

Joined: May 2006
Posts: 133
ME
yes the game is loaded but the flags is not loaded I mean the entity is loaded and it's skills is fully loaded but the flags (INVISIBLE in this case) is not loaded,

Re: does game_save saves flags ? [Re: Mysterious] #290088
09/17/09 08:50
09/17/09 08:50
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Maybe some function of you that sets the entities invisible is still running?

game_save saves everything with entities, also of course the invisible flag.


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