[Command] sceneEndLoadLastSave

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply