Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
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