Forum rules - please read before posting.

Autosave not occur when calling from actionlist\interaction

Hi,

I'm using autosave for my game and I see some cases which the autosave didn't work (it looks like it's not saving)

Steps to reproduce:
1. Create two action lists 'AL_1' and 'AL_2' with all of their checkboxes in properties unchecked:
2. In 'AL2' - call autosave action (overwrite exsiting save->autosave)
3. Call 'AL_2' from 'AL_1'
4. Run the game, walk to other place in the room (and set some variables) and call 'AL_1'
5. Load autosave (Load game->autosave)
6. the game that was loaded wasn't the one which intended to be saved

  • If I'm moving the autosave action to 'AL_1' instead, it works.
    however my game using autosave in many chained action lists
    and it might take me a while to find all the autosave references.

*Also, I tried to change 'AL_2' to interaction and the bug still occur

I'm using AC version: 1.71.8

PS
I'm about to launch a demo in 6 days, so better not update AC
also, I do looked on the release note and haven't see bug fix related to it.

Thanks!

Comments

  • When a save is succesful, the Console will report it - are you seeing the save message appear?

    How are you calling AL_2 from AL_1? Try running AL_1 manually via the "Run now" button in its Inspector - does it then work?

    Be aware that saving is only possible if you're not currently in a cutscene - with the exception being the ActionList that contains the Save: Save or load Action. It may be that the other ActionLists are still running at the time, causing saving to be blocked.

    Try either replacing AL_2 with a Cutscene that has Autosave after? checked, or inserting an Engine: Wait Action before the save Action to wait for the other ActionLists to finish. A wait time of -1 will have it wait for a single frame.

  • edited October 2020

    Hi,

    Sorry for my late reply.
    Yes, the issue was exactly what you said, I had to add delay before calling
    Save: Save or load action so other running actions will end.

    Also, I launched the demo :smile:
    thank you ICEBOX Studios and Chris for such a wonderfull plugin and support!

    I've managed to make this demo from scratch with 1 hour of gameplay
    and many customize features in 8 months all thanks to AC. way to go!

    Here's link to the demo, you can try it, it's FREE:

    https://store.steampowered.com/app/1108170/Plot_of_the_Druid/

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.