Disabling Loading of Saves

  • #1, by brut69Sunday, 15. September 2013, 00:00 11 years ago
    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

    266 Posts


  • #2, by afrlmeSunday, 15. September 2013, 01:17 11 years ago
    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

    7278 Posts

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

    Great Poster

    266 Posts

  • #4, by afrlmeSunday, 15. September 2013, 01:33 11 years ago
    with conditions or values?

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

    Imperator

    7278 Posts

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

    Great Poster

    266 Posts

  • #6, by afrlmeSunday, 15. September 2013, 01:57 11 years ago
    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

    7278 Posts

  • #7, by brut69Tuesday, 17. September 2013, 09:13 11 years ago
    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

    266 Posts