Re: load savegame

#5
If you are using the GameSDK, you can use the Flow Node "Game:SaveGame" to load and save.

The important parts in code (C++), if that is what you are looking for is something like:

Code: Select all

auto saveGameName = gEnv->pGameFramework->CreateSaveGameName();

gEnv->pGameFramework->SaveGame(saveGameName, true, false, eSGR_FlowGraph, false, m_name.c_str());
and

Code: Select all

gEnv->pGameFramework->LoadGame(name.c_str(), true);
Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Who is online

Users browsing this forum: No registered users and 1 guest