Page 2 of 2

Re: Ink integration and savesystem (error)

Posted: Fri Jul 09, 2021 1:43 pm
by Tony Li
Hi,

The Ink integration maintains a Story state for every Ink JSON asset that you've assigned to it.

In saved games and before scene changes, it will save the Story states in a dictionary keyed under the Ink JSON asset names. Note: If you change the name of the Ink JSON asset, old saved games that reference the old asset name will not load their states.

After entering a new scene due to a scene change, it will do nothing since the info is already in the integration.

When loading a saved game, it will look up each saved Story state by Ink JSON asset name, and load it back into the integration.

The Story state comes directly from Inkle's Ink integration.