Switch vs Variables

● ARCHIVED · READ-ONLY
Started by BrutalBarracuda 3 posts View original ↗
  1. For some reason i can hardly ever get switches to trigger an event, but if i use a variable instead then the event will always trigger. Should i just never touch switches and only use variables?
  2. No, you'll need both sooner or later.
    And because switches are usually easier than variables, you should try to find out where your mistakes are.
    Just post screenshots of example events that don't work and we'll help you finding your mistakes.
  3. Apparently, Switches, as they named only used to toggle stuff ON/OFF.

    For example, if you only use Variable that comes to 0~1. Its best to leave that as Switches instead.

    Variables are used in advanced way, having them ON and OFF isn't the only thing they can do.
    Ofc, let's say you wanted to use a Variable with [2] to unlock a door. This means you can only unlock the door with [2].

    Either
    "Make four active events on the map, and let two of them +1 to the said Variable while the other two was -1 or other higher/lower numbers, as long as it's not +1" (Also can be applied to "Switches")
    Or
    "Make four active events as above,
    one that +3,
    another one that +6,
    and another one that +1,
    and finally another one that -1 or -4 or +1"

    Both ways, makes your door opened. If the right Trigger has been activated.

    tl:dr
    Use Switches for 0~1, or any that only toggle things ON/OFF like "Maken Reader Henshin" or "Majo Ojou Transformation".
    While Variables for more than 2 or more [ON] triggers.