License from €75
DE EN FR ES IT CZ

Reset "Values & Conditions" to default

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 13 years ago
    I have been wondering if there is a function, that eresets all values and all conditions to their "default" value/setting. Meaning, to the setting I set as default when making them.
    Yeah, that's all grin
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.

    Get 15 % off Try it for free
  3. · 13 years ago
    Are you talking about resetting them for when the player clicks on new game? or just in general, for debugging purposes?

    If it's in general then you could create called by other actions which contain set condition/value to x when called or you could use Lua & create 2 tables. One containing the name & default state of each condition & same again for each value. Then you would use a for loop & iterate through each entry to set it back to default value.

    * technically I believe it would be possible to have it automatically create the tables on game launch... but it's way too early for me to wrap my head around that *

    If it's for a new game then I have already posted multiple threads on how to go about doing that. check this thread: http://www.visionaire-studio.net/forum/thread/reset-conditio... - you need to add a small pause, which is the same amount of ms as fade in value for the scene (or scenes) before executing the autosave.
  4. · 13 years ago
    Yeah, I was looking for an elegant way to bring a Demo back to the start screen. With the possibility to reset conditions and values.
    The quick save function is actually pretty genius! grin
    Thanks for that!
  5. · 13 years ago
    no problem smile

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?