Page 1 of 1

[Command] sceneEndLoadLastSave

Posted: Thu Nov 04, 2021 8:14 pm
by Raddeck
sceneEndLoadLastSave()


USE:
End the current scene and loads the last save.
Used for game-over.


TYPE: Command, Non-Ref
RETURNS: /
THEME: Consequences
COMPARE: sceneEnd


EXAMPLE:

Code: Select all

    "GAME OVER!"
    0:: "Load last save"
    1:: "Revive my character (cheat)"
    
    If 0
        sceneEndLoadLastSave()
    Else
        sceneEnd()
    Endif