Menu
Login
Language
DE EN FR ES IT CZ
Back

Disabling Loading of Saves

  • #1, by bobby23 Sunday, 15. September 2013, 00:00 13 years ago Quote
    Is there a way to stop the player from loading a previous save at a certain time?

    Basically I want the player to perform a task fully without loading and saving (trial and error) until he gets it right. The easiest way for me currently is to just disable the load option when he starts the task and enable it back again when he finishes.

    I can't find a way though to do it.
    Is there an "Enable Save/Load" ? If not , any ideas how to stop a player from loading at a certain scene?

    Great Poster

    265 Posts

  • #2, by afrlme Sunday, 15. September 2013, 01:17 13 years ago Quote
    just use conditions or values to determine when & where the player is allowed to save/load - about the only thing I can think of, or well either that or don't allow player to access the menu scene.

    Imperator

    7290 Posts

  • #3, by bobby23 Sunday, 15. September 2013, 01:23 13 years ago Quote
    Yes that was my question. How do you not allow the player to not access the menu scene?

    Great Poster

    265 Posts

  • #4, by afrlme Sunday, 15. September 2013, 01:33 13 years ago Quote
    with conditions or values?

    just wrap whatever you use (key input, button) to access menu scene inside of an if query.

    Imperator

    7290 Posts

  • #5, by bobby23 Sunday, 15. September 2013, 01:49 13 years ago Quote
    It is the ESC, F8 and space keys... but how to I wrap it?

    Great Poster

    265 Posts

  • #6, by afrlme Sunday, 15. September 2013, 01:57 13 years ago Quote
    if condition (or value) is "something"
     actions
    else
     other actions
    end if
    
    --- example
    
    if condition "allow_menu?" is true
     display scene "menu"
    end if
    


    sorry wrap is just a phrase, meaning add the code inside of the query or function etc...

    Imperator

    7290 Posts

  • #7, by bobby23 Tuesday, 17. September 2013, 09:13 13 years ago Quote
    The last 3 lines is what I wanted. I didn't know that you can do that with menus too. I just had to insert my code in the GAME--> KEY ACTIONS Tab and it worked like a charm.
    Thanks

    Great Poster

    265 Posts