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.

Umm Can Someone Please Explain...

Can someone please explain what the following things are and how to use them.
1) A control switch
and that's all for now, I thought there was more.
 
A Control Switch can substitute as a normal switch event, instead of making thousands of switches you can create another event page and make it a control switch. So on the first event page, at the end of everything put a control switch. So you won't have to use a normal switch, see what I mean. Sorry I'm horrible at explaining things, if you don't get it just say so, and I will try to see if I can explain it better.
 
I'm not sure what was meant by that, either. 

Are you referring to the "Control Switch" event command?  That lets you Control one or more switches, turning it/them on or off as you see fit. 

The only kinds of switches that I'm familiar with in RMXP are Switches and Self-Switches, and Self-switches are tied to a specific event, and can only be checked by the event that they're tied to.

Did that help?
 
Boy, you just asked a big one.

Switches are perhaps the biggest single key to making plot happen in the game.  (Up there with variables, but one step at a time here.)

Switches are simple on/off indicators built into the program.  Once a switch is changed in a game, it stays changed until it's told to change again.  Changing a switch is done with the Control Switches command (first page, top command on the right-hand column in RMXP.)

There are two common ways that a switch can be used in a game-- Conditional Branches and Event Pages.  They work in very similar ways.

Conditional Branches are event commands that are classic If...Then...Else statements.  IF switch 23 (Got Quest from King) is ON, THEN the guard says "Here's the way to the dungeon" and gets out of the road, ELSE nothing happens. 

Event Pages are similar, but specialized-- an Event runs things on the highest-numbered page that the conditions are true for.  So page one might be a guard saying "Nobody gets through here without a passport!", but page 2, which has the conditions "Switch 15 (Has a Passport)," has the guard saying "Right this way, sir" and moving out of the way when you talk to him, is the page that will activate if that switch is on. 

I have neither the time nor the energy to list every possible use for switches-- they are such a basic tool in the game that it's like asking for the major uses of electricity. 

However, to illustrate some examples, I'll link to a thread in which I gave a lot of screenshots illustrating a way to create a quest in the hopes that it'll be some use to somebody.  (I presume it wasn't any help to the original poster in that thread, since they never replied...)

http://www.rmxp.org/forums/index.php?topic=50560.0
 
That helps a lot but my problem now is that everytime I use a control switch on a person the person disapears. How do I make it where they don't vanish after I talk to them?
 
Hitori-San":1hdj9qfz said:
That helps a lot but my problem now is that everytime I use a control switch on a person the person disapears. How do I make it where they don't vanish after I talk to them?

Uh, did you look over the screenshots in that other thread?  Have the event still use the same graphic on all pages if you don't want it to vanish.
 

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