Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

___________________________________________________________

Your question is phrased in a confusing way, but I'll try to answer.

If you have 2 houses that have the same (or similar) inside rooms, you still have to make 2 individual maps. In other words, you have to make a building-specific map for each.

If you have a house that has its interior changed (like maybe a person moved or they sold all their furniture), you still need multiple maps. The way you connect to the different versions of the map is with conditional switches.

Does that answer your question?
 
Well, the first thing I'd suggest is looking at your help file and the RMXP tutorials forum just to get an idea of how certain things work.

That being said, let's get into the specifics of your question ...

There are 2 ways to go about using conditions and switches.

The first involves the conditional tab in the upper left side of your event editor. You'll notice there that it says things like "Switch", "Variable" and "Self-Switch" with a little box next to each.

You first set up the event like you usually would (just set the "Transfer Player" function like usual). Then, click on the "New Page" button in the upper right corner. A new blank page will pop up.

Click on the little box next to one of the "Switch" cases and choose which switch you're using (something like "End intro" for example, or whatever switch you've used at the point of the story that changes the map). Then, you set up the event to transfer the player to the new map.

The second way is to use a conditional branch in the event editor box (on the right). I can explain this as well if you'd like, but I'll just let you test the other method first.

Do you need an explanation on how to do switches too?
 
There are 2 types of switches.

1) Regular Switch
Regular Switches are a very useful tool. You can use them to mark progress of your game, to change where the player is transfered to, make events only occur once, and so on.

By default, all switches are turned to OFF. This means that the game is registering that you're not making any changes, and it will keep repeating events on the map the way you set them up, even if you use "Erase Event" (which only erases it until you exit the map and re-enter). So, in order to make events happen once, you need use the switch command. You could also make a lot of copies of the same map, but it's not very practical to do this. It's easier to just learn about switches.

First thing to do is to make a good name for each switch you use. For example, you could name a switch "End Intro" and use it at the end of the introduction. The more specific you are with the name, the easier it is to keep track of which switches you need to turn on and off.

There are only two other things you need to keep in mind. The first is that you have to make sure you set the switch to "ON" when you want to initiate a change. So, for example, at the end of your intro you would set the "End intro" switch to ON. That would make it so you don't see the intro again if you walk back to the map.
If you ever want to go back, you can just turn the switch to "OFF" at the end of the event, and it will go back before the change. For example, if you want to see the intro again, you would turn the "End intro" switch OFF. When you walk back to the map, you would see the intro again.

The second thing to remember is that you have to use conditions and conditional branches. The conditions tab is in the upper right area of your event editor (where it says "Switch" and so on). When you want something to change, you need to click the box next to the switch (or self switch). The game will check if that condition has been met and it will use this new page instead. If a switch is ON, the page that has that switch in the condition will take priority over the default page.

You can also use the switches in common events and the conditional branch (but I won't complicate things by explaining these right now, but take a look at the tutorials forum if you want to know how they work).

2) Self-Switch
This is just like the regular switch, but it only works on that specific event. For example, if you want an NPC to say something different after you complete the quest, you would set "Self-Switch A" to ON. Then, you would make a new page and use the condition "Self-Switch A is ON" (click the little box next to that). Then, in the event editor box on the right, you would put a message with a new text.

Self-Switches are useful when you want to have something that's specific to just one event such as a treasure box, NPC text, make sure that a specific event doesn't keep happening when you exit/re-enter the map, and so on.

-
Does that help?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top