Re: load savegame

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());

Code: Select all

gEnv->pGameFramework->LoadGame(name.c_str(), true);
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 2 guests