Unwanted Interface appearing when loading an autosave

  • #1, by donald-smithSunday, 10. March 2019, 06:58 5 years ago
    Hi all.

    When I try to load an autosave, the following happens.

    1) The screen starts to fade to black. (Good)
    2) The inventory interface appears immediately, before the screen has faded hardly at all (Bad)
    3) The scene that had been saved fades in (good)

    I have played around with a lot of ideas, such as making the interface invisible before loading the autosave, etc, but nothing has worked.

    I have also tried turning off the "Auto Hide Interfaces in Menu" , and manually turning all the interfaces on and off, and that also doesn't work.

    To me, it appears to be a problem with the "Load Autosave" command. It turns on the interface too soon in the loading process, rather than waiting for the original screen to fade out completely.

    Am I missing something, is this something that has a work around, or is there a plan to fix it?

    Your help would be immensely appreciated.

    Thanks

    Newbie

    11 Posts


  • #2, by afrlmeSunday, 10. March 2019, 12:03 5 years ago
    You need to hide the interface before creating the save/autosave.

    When you load a save/autosave, it doesn't matter what action parts you added before it or what you told the engine to do, because loading a savegame file is essentially replacing the current game data with whatever the savegame file contains, which means that if the inventory was visible while the save was created, it's going to be visible after loading the savegame file.

    Imperator

    7278 Posts

  • #3, by donald-smithSunday, 10. March 2019, 13:09 5 years ago
    Thanks AFRLme fort he reply. So  I tried that, and it does stop the inventory interface from appearing too early when loading, but now it doesn't appear at all. 

    If I add a command after the "load autosave" command, it seems to be ignored and the interface still doesn't appear.

    Is there a standard way you would make it reappear after a "load autosave" command has been called, but not before the previous scene has faded?

    Newbie

    11 Posts

  • #4, by donald-smithSunday, 10. March 2019, 13:48 5 years ago
    I have solved my problem, but it wasn't the solution suggested by AFRLme surprisingly. Hiding the interface before saving didn't fix it in this instance, so I removed that command again.

    What I did do was simply add a ' Show "Inventory" ' command under the "At the beginning of scene" Action for every scene of the game where I want the inventory to be available. 

    This seems counter intuitive, because I needed to hide it not show it, but it works for me.

    Thanks for your help, AFRLme, because you got me looking at it from a different angle and that helped.

    Newbie

    11 Posts

  • #5, by afrlmeSunday, 10. March 2019, 18:59 5 years ago
    yeah, you need to manually show it again as needed, just forgot to mention that bit.

    Imperator

    7278 Posts