Announcement

Collapse
No announcement yet.

am i missing something...(one thing about switches that's better than variables)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    am i missing something...(one thing about switches that's better than variables)

    on rpgm1 you could have an event and and on page 1 you'll have it on, and page 2 you'll have it off, and you can set it such that if switch 1 is on page 1 one will show, and if switch 2 is on, page 2 will show...

    but this doesn't seem to work with variables and modes, though logically it seems like it ought to.
    if i'm missing something let me know

    but like to do the same scenario above, i'd have to create an additional auto event which modified the mode when the variable was turned on, instead of the mode automatically modifying itself based on whichever switch was on, like on rpgm1, right?

    #2
    Re: am i missing something...(one thing about switches that's better than variables)

    I never used RPGM1, but it sounds like for use in 3 you may be forgetting the "Refresh Display"command to make the removal happen.

    Alternately, try leaving the map and returning.

    That refreshes the display automatically.

    3 is weird that way.

    MOO!




    Comment


      #3
      Re: am i missing something...(one thing about switches that's better than variables)

      Originally posted by Rodak
      I never used RPGM1, but it sounds like for use in 3 you may be forgetting the "Refresh Display"command to make the removal happen.

      Alternately, try leaving the map and returning.

      That refreshes the display automatically.

      3 is weird that way.

      possible.
      i originally thought "Refresh Display" was strictly for if you changed the weather or time of day.

      Comment


        #4
        Re: am i missing something...(one thing about switches that's better than variables)

        Nope. It's for anything that changes the appearance of anything. If you want to take a teddy bear off a pedestal (and who doesn't), you'll need "Refresh Display" for that, too.

        Oh, and Variables>Switches. The only disadvantage that they could possibly have is that they take up more space that switches (RPGM3 variables take up 20 times as much memory as switches/flags/booleans do, though it really doesn't matter in an RPG Maker. It would if you were programming in something like C++, though).
        Last edited by DYRE; 06-30-2006, 08:50 AM.
        .

        Comment


          #5
          Re: am i missing something...(one thing about switches that's better than variables)

          Switches/flags still have their use. If all you need to know is if something is true or false and you're limited to the amount of variables you can use (as is the case in RPGM2 and 3), why waste a variable on something so simple?
          "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

          Comment


            #6
            Re: am i missing something...(one thing about switches that's better than variables)

            But, a variable in RPGM2 can, if you code it right, hold 24 flags worth of data.
            Last edited by DYRE; 06-30-2006, 04:22 PM.
            .

            Comment


              #7
              Re: am i missing something...(one thing about switches that's better than variables)

              Originally posted by Draygone
              Switches/flags still have their use. If all you need to know is if something is true or false and you're limited to the amount of variables you can use (as is the case in RPGM2 and 3), why waste a variable on something so simple?
              Yeah, what Dyre meant is having only variables > having only switches

              Comment


                #8
                Re: am i missing something...(one thing about switches that's better than variables)

                Oh yes, I agree completely.
                "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

                Comment

                Working...
                X