Autosave

Using Naninovel C# APIs: adding custom actor implementations or commands, overriding engine services, integrating with other systems, etc.
Post Reply
Cocofox
Posts: 2
Joined: 01 Sep 2020 13:13

Autosave

Post by Cocofox »

Hello !

I want to make an automatic save for a single save.
And when you continue you have this save.

What can I do ?

Thank you ! :)

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Autosave

Post by Elringus »

Hey, If you want to save or load via C#, use IStateManger engine service.

Cocofox
Posts: 2
Joined: 01 Sep 2020 13:13

Re: Autosave

Post by Cocofox »

In fact I want to delete all scripts about saves but when I touch anything of that this compiled many errors.
I just want the progress is saved when the user quit.

I think use :

void OnApplicationQuit()
{
//I don't know what can I put here lol
}

I'm sorry I'm a newbie about codes :shock:

(Thank you for your answer)

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Autosave

Post by Elringus »

Check the guide on engine services on how to use them.

Post Reply