Disabling Loading of Saves

  • #1, von brut69Sonntag, 15. September 2013, 00:00 Uhr vor 11 Jahren
    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?

    Experte

    266 Posts


  • #2, von afrlmeSonntag, 15. September 2013, 01:17 Uhr vor 11 Jahren
    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.

    Foren Imperator

    7285 Posts

  • #3, von brut69Sonntag, 15. September 2013, 01:23 Uhr vor 11 Jahren
    Yes that was my question. How do you not allow the player to not access the menu scene?

    Experte

    266 Posts

  • #4, von afrlmeSonntag, 15. September 2013, 01:33 Uhr vor 11 Jahren
    with conditions or values?

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

    Foren Imperator

    7285 Posts

  • #5, von brut69Sonntag, 15. September 2013, 01:49 Uhr vor 11 Jahren
    It is the ESC, F8 and space keys... but how to I wrap it?

    Experte

    266 Posts

  • #6, von afrlmeSonntag, 15. September 2013, 01:57 Uhr vor 11 Jahren
    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...

    Foren Imperator

    7285 Posts

  • #7, von brut69Dienstag, 17. September 2013, 09:13 Uhr vor 11 Jahren
    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

    Experte

    266 Posts