Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, dr_panther), 1,282 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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