Announcement

Collapse
No announcement yet.

Switches

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

    Switches

    I realize this is a bit of a noob question, but I'm now making my very first "dungeon." How exactly DO the switches work? I read the FAQ's section, but it was still a little confusing to me. I want the player to pull two levers, and in doing so, change the mode number of an invisible event.
    Believe nothing...except for the possibility of everything.

    -Miyka'el

    #2
    Re: Switches

    They're actually just kinda crappy little things, not much use.

    All they do, is when pulled, change a variable. Nothin special.
    "Those who want peace must prepare for war."

    Wii#: 8540 8974 8755 6475

    The post above has a 70% chance for spam

    Comment


      #3
      Re: Switches

      Alrighty...how would I set it up so that when both switches are activated, an invisible event is mode-changed to a specific mode?

      I try to avoid working with variables whenever possible, so I'm not too familiar with the mechanics of it in RPGM3.
      Last edited by Miyka'el; 08-06-2006, 11:55 PM.
      Believe nothing...except for the possibility of everything.

      -Miyka'el

      Comment


        #4
        Re: Switches

        You could set it up like this, I believe. You will need three invisible, two-mode events. (you can hide them in the walls of the dungeon, so as not to be accidentally "seen" by the PC.)

        event 1 -set to auto - with the trigger set as switch 1 on
        event code -
        modify mode (event 3) to mode 2
        modify mode (event 1) to mode 2 [which is set to touch with no event code]


        event 2 -set to auto - with the trigger set as switch 2 on
        event code -
        modify shared variable 05 from 0 to 1
        modify mode (event 2) to mode 2 [which is set to touch with no event code]

        event 3 -
        Mode 1 - set to touch
        event code -blank

        Mode 2 - set to auto -with the trigger set as shared variable 05 at 1
        event code - whatever you want to happen

        Remember to write down somewhere that you've used shared variable 5 for this event so you don't accidentally repeat the same variable. You can use whatever variable you want. I just used "5" as an example.

        I think that will work.
        --------------------------------------------------------
        Sidenote:
        Here is something interesting I found out about switches (regarding their placement in a dungeon.)

        http://www.pavilionboards.com/forum/...ead.php?t=7552
        Last edited by Pagerron; 08-07-2006, 12:31 AM.
        " I am the way, the truth, and the life. No one comes to the Father but by me. " - Jesus

        Comment


          #5
          Re: Switches

          Ah....much wootage. Thank you Page! Trying it now.
          Last edited by Miyka'el; 08-07-2006, 11:21 PM.
          Believe nothing...except for the possibility of everything.

          -Miyka'el

          Comment


            #6
            Re: Switches

            Okay...had some trouble setting it up the way you advised, but I actually found a much simpler way...and it only required one event, and no variables. All I did was make an invisible auto event with it's "event occurence lists" set so that dungeon switch 1 and 2 are on, and then have the event code set so that it modifies the mode of the event that I was trying to change. Basically, the switches disable a "door blocker" that I placed in the dungeon.
            Believe nothing...except for the possibility of everything.

            -Miyka'el

            Comment


              #7
              Re: Switches

              Yup, with dungeon switches in the occurance list thats the easiest way.

              Comment

              Working...
              X