Autosave

Posted: 01 Sep 2020 13:16
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 ! :)


Re: Autosave

Posted: 01 Sep 2020 16:25
by Elringus

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


Re: Autosave

Posted: 01 Sep 2020 18:41
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)


Re: Autosave

Posted: 01 Sep 2020 22:29
by Elringus

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