License from €75 Log in
DE EN FR ES IT CZ

Toggle condition.

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

  1. · 13 years ago
    Hi,

    i'm just wondering what can i do with the new toggle condition option?
  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.

    See licenses Try it for free
  3. · 13 years ago
    It sets the condition to the opposite state
    If the condition was True it will change it to False and vice versa
  4. · 13 years ago
    haha grin

    If you have any actions where you usually just want to swap one condition value to the other or back again then you no longer need to use an if query. Say like toggling a condition to say the menu is active/inactive etc.

    before:
    if condition is true
     change condition false
    else
     change condition true
    end if
    

    now:
    toggle condition
    

    ...it's more of a workflow thing, to save a bit of time here & there. I also wrote a lua script version of this, which is can be found via the script index page of the wiki.
  5. · 13 years ago
    Ou, thanks razz

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?