Start new game

  • #10, by jf-mWednesday, 06. October 2021, 17:44 2 years ago
    Ok, here what i did:

    - Game properties > "at begin start following action":
    if autosave #99 exists
    delete autosave #99
    call "call by other action" 
    else
    execute script 'scriptportrait'
    end if

    -scenes > menu > "start game button" ("bouton démarrer"):
                - Left click:
                            execute autosave #99
                            execute  script' replaceGame("mav.vis")'
                - call by other action:
                            hide "Main interface"
                            hide "inventory"
                            hide "secondary interface"
                            hide "miscallenous"
                            show scene "scene0"
                            remove all items from character "agatha"
                            set command "cursor fleche"


    I still don't understand, but it works fine!

    Thank you! Really, you are very helpful!

    Newbie

    39 Posts


  • #11, by afrlmeWednesday, 06. October 2021, 20:17 2 years ago
    No worries. It acts like the reset button on old video game consoles. The problem with Visionaire & using autosave/quicksave for as new game is that the cache can still contain information in it & for some reason VS might use that which means that sometimes you end up with things that have happened already in the current session being the same in old save files you load.

    replaceGame() however relaunches the game & purges the cache so it's like a fresh session.

    Imperator

    7278 Posts