Main Menu
  • Welcome to The RPG Maker Resource Kit.

Need help with switches

Started by Fushigikai, April 24, 2008, 09:35:09 PM

0 Members and 1 Guest are viewing this topic.

Fushigikai

I don't understand how to use switches and variables, can someone help me?

modern algebra

You could try reading tutorials on this board. Such as this one:

http://rmrk.net/index.php/topic,14159.0.html

Please use search engine. You can also look at tutorials for RMXP that cover switches and variables, as they are almost unchanged. The one big difference is that self-switches do not exist in 2k/3

Fushigikai


Fushigikai

Still need a little help with switches (thnx for variables though)

DarkMaster2101

Switches are easy to understand.  Think of them as a switch to a light bulb.  A switch, unlike a variable, can only be turned on or off.  Switches are excellent for opening up custom menus, changing NPC dialogue, sparking events, and so forth.  Under SWITCH operations, you can change switches to ON, OFF, and even a TOGGLE ON/OFF command.

Variables are different from switches because they store values instead of just turning on or off.  Variables are useful for many miscellaneous events in the game like a bestiary for storing monster data and displaying the number slain.  Nevertheless  variables are useful when dealing with certain value of game play elements than binary elements.

Allactus

ROFL, when I didn't understand switches (most of my RPG maker life) I copied the map when something changed and changed the events accordingly. It was irritating  :P

ahref

look on the back of your computer youll see a switch with 1/0 on it. what happens if its on 0. Thats how a switch in rpgmaker works.

modern algebra

Perhaps easier, think of a switch as a light switch, and a variable as a dimmer switch. Switches have two positions and you can set things accordingly, while variables have many positions for if your object needs them.