Leon 55 Report post Posted February 11, 2007 Ok, I am going to go in-depth on switches. To start off, a switch in RmXP is alot like a switch on a railroad. You have the switch and a fork in the tracks. Flip the switch, the train will go down one way, if the switch is flipped the other way, the train will go down the other path instead. Now, these play a vital role in RmXP. To start off, we'll do a demonstration on a regular switch and local switch. For the switch demonstration, we'll make it so you flip a switch, and the door opens. This requires both a local switch and a switch. First, we set up the switch: Look at how we set up the move event, the sound effect, THEN proceed with movement. THis will make the movement finish before the switch 2, which we turn ON. Now, on page 2 of that same event, we make it so that in the preconditions, we check the 'switch' and set it to switch 2, the same switch we turned on. THis makes it so that switch MUST be on for this page to be shown. Now, for the door event, we make the first page just the door. Nothing else. On page 2, make the precondition for switch 2, and make it be a 'auto-start' Also, set up the move event, proceed with movement, then a LOCAL switch, turning it on like this: That will open the door. And, on page 3, set the local switch prerequisite to say 'A' is on, and a picture of the door open, along with the teleport event, and you have a door opened by a switch! Now, you are probably wondering how this teaches about switching. Well, you just made a switch and a local switch, but if you are still unsure, here is how to define them: Switch: Allows you to make something happen from a remote location, much like we did with the door. The switch, both physically and game-wise allowed us to open the door. Local switch: Allows you to make things happen in the event, such as with the door moving. You can also use this for things such as chests, or talking to people, and make them say different things. Share this post Link to post Share on other sites
Wyzrd 12 Report post Posted February 11, 2007 I think I understand a little bit better now. Thanks for the tutorial Leon and it really does work I just did it :D . Share this post Link to post Share on other sites
satan6676 0 Report post Posted December 17, 2007 Ok so if i wanted to close the door i would just do the oposite but how would i make it so i could do the switch multiple times? Share this post Link to post Share on other sites
Leon 55 Report post Posted December 17, 2007 you do the opposite, turning off the switch. Share this post Link to post Share on other sites
earthboy 0 Report post Posted July 15, 2008 you do the opposite, turning off the switch. I'm not rebut your opinion Leon, I just want to make it clear. :) If you simply turn off the switch the door will disappear. Make sure you create a new switch such as "Door Switch Down" is On. Then go to the door event. Set if "Door Switch Down is ON" then your door back to close. CMWII Share this post Link to post Share on other sites