Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Disabling Loading of Saves

  • #1, by bobby23 13 years ago Zitieren
    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?
  • #2, by afrlme 13 years ago Zitieren
    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.
  • #3, by bobby23 13 years ago Zitieren
    Yes that was my question. How do you not allow the player to not access the menu scene?
  • #4, by afrlme 13 years ago Zitieren
    with conditions or values?

    just wrap whatever you use (key input, button) to access menu scene inside of an if query.
  • #5, by bobby23 13 years ago Zitieren
    It is the ESC, F8 and space keys... but how to I wrap it?
  • #6, by afrlme 13 years ago Zitieren
    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...
  • #7, by bobby23 13 years ago Zitieren
    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